[DGD] parse_string regular_expression
aishiteru at charter.net
aishiteru at charter.net
Mon Apr 12 04:49:34 CEST 2010
Hello everyone,
I am pulling my hair out trying to get a regular expression for single-line comments and
c-style comments to be matched with parse_string(). The regular expressions I have tried are below.
single-line comments:
//[^*\n]+/
c-style single-line and multi-line comments:
/\\/\*(.*?)\*\//
or
\/\*[^*]+(\*\/)?
Each of these gives me a malformed regular expression error.
What am I doing wrong? These were all suggested over the DGD Intermud
channel. I'm on a MUD using a modified Gurbalib mudlib.
Joseph
More information about the DGD
mailing list