[DGD] Re: RFC: parse_string()
P�r Winzell
zell at alyx.com
Wed Oct 8 21:07:18 CEST 1997
While we wait for the Master to reply...
> My main question comes here. Can a `:' rule be specified to match in a
> case insensitive manner? I don't see anything in the specification that
> suggests this, although I am pretty sure that internally dgd regexp
> functions know about case insensitivity. Erm, and if I can't specify it
> to be case insensitive, then why not :).
One "why" response to "why not" could be that since in practice all
large sets of rules are likely to be automatically generated through one
or more layers of LPC code, one -could- say there is no reason why e.g.
parsedaemon->add_adjective("evil")
should not infact add the tokens
evil,
Evil, eVil, evIl, eviL,
EVil, EvIl, EviL, eVIl, eViL, evIL,
EVIl, EViL, EvIL, eVIL,
EVIL
or perhaps more realistically,
evil, Evil and EVIL
and avoid loading down the minimalistic interface with another operator.
I would probably be happy either way, myself.
Zell
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list