[782] in Coldmud discussion meeting

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

Regexp matching and escaping characters...

daemon@ATHENA.MIT.EDU (Thu Aug 24 00:37:32 1995 )

Date: Wed, 23 Aug 1995 22:33:21 -0600
From: 869683 Gillespie Brandon James <brandon@avon.declab.usu.edu>
To: coldstuff@MIT.EDU

I dont know why I didn't realize this earlier quinn, but the problem with:
  
    ;match_regexp("\$test", "we $test this")

Is that you have a coldc compilation layer between the function call and
setting the string "\$test".  To get around it you just do:

    ;match_regexp("\\$test", "we $test this")

-Brandon