[25] in Coldmud discussion meeting

root meeting help first previous next last

No subject found in mail header

daemon@ATHENA.MIT.EDU (Tue Nov 16 11:20:46 1993 )

Date: Tue, 16 Nov 93 11:12:40 EST
From: Philippe Hebrais <hebrais@IRO.UMontreal.CA>
To: coldstuff@MIT.EDU
In-Reply-To: Quinn Avery's message of Mon, 15 Nov 1993 23:31:57 -0500 <199311160431.AA21059@DUS.Mountain.Net>

QA> From: Quinn Avery <quinn@dus.mountain.net>

QA> I would -really- like to see some regular expression matching
QA>  eventually.  This is really the only thing I'll miss about MOO.

I also would like to have regexp for the same reason, however, unlike
MOO I think compiling the regexp and matching it should be two
seperate builtins if possible.  Compiling regexps is quite resource
consuming when you are trying to do some non-trivial expressions.

The idea is that a robot only needs to compile the regexp once, but it
matches many many strings with that regexp.

Of course, this would only be possible if coldmud strings can store
arbitrary binary data (you need something to store the compiled
regexp).

Also, it might be useful to go for the fuzzy regexp matching algorithm
(called agrep) instead of the standard grep or egrep style regexps.

   --QV
--        ,
Philippe Hebrais
Voix: 1(514)731-9146                           hebrais@iro.umontreal.ca