[768] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

Re: escaping characters in match_regexp()

daemon@ATHENA.MIT.EDU (Wed Aug 16 15:41:47 1995 )

Date: Wed, 16 Aug 1995 13:37:15 -0600
From: 869683 Gillespie Brandon James <brandon@avon.declab.usu.edu>
To: coldstuff@MIT.EDU

It looks like it is a bug, because yes, you should be able to escape things.
I would suggest an alternate approach to what you desire.  In our command
parser we check for dbrefs and objnames with:

    match_regexp("[#$][a-z_0-9]+", str)

Basically, it seems to work fine when $ is inside []...

I'll add it as a bug to the todo list.

-Brandon