MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
regexp trouble
-
Date: Fri, 24 Nov 1995 12:10:40 PST
-
From: Quinn <quinn@vv.com>
-
Content-Type: text/plain; charset="us-ascii"
At LambdaMOO (1.7.8p4):
;match("foo's chicken", "^%([^']+s?%)%'s? *%(.+%)?")
=> {1, 13, {{1, 3}, {7, 13}, {0, -1}, {0, -1}, {0, -1}, {0, -1},
{0, -1}, {0, -1}, {0, -1}}, "foo's chicken"}
At Ghostwheel (1.7.9p2):
;match("foo's chicken", "^%([^']+s?%)%'s? *%(.+%)?")
=> {}
Am I violating one of the new regexp rules there? I've tried adding extra
parentheticals around [^'] and the lone period, just in case it digs useless
obfuscation. It still fails on Ghostwheel.
I use regexp extensively (perhaps more than I should, in the interest of
compacting my code) in the Ghostwheel database. I'm sure if there are
more regexp anomalies, I'll find them...
-Quinn
-http://www.vv.com/~quinn/
Follow-Ups:
Home |
Subject Index |
Thread Index