[784] in Coldmud discussion meeting

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

Re: Regexp matching and escaping characters...

daemon@ATHENA.MIT.EDU (Thu Aug 24 14:43:54 1995 )

From: brandon@avon.declab.usu.edu
To: coldstuff@MIT.EDU
In-Reply-To: Your message of "Thu, 24 Aug 95 13:24:35 EDT."
             <199508241724.NAA29689@altair.vv.com> 
Date: Thu, 24 Aug 95 12:39:19 -0600

< Ah, thankee.  Now I see why Pavel chose to use % as the escape character for
< MOO regex.

This could be an option for upcoming regular expressions.  Does anybody have
any comments on doing the above?  Ala:

    "%$test" vs "\$test" (which actually has to be "\\$test")

Basically, either we we go it is rather abstract and wrong.  However, The more
I look at it "\\$" looks less wrong than "%$" ... (I tend to expect MOO or
whatever to search/replace %$ with something...).

-Brandon