[948] in Coldmud discussion meeting
Re: [COLD] Re: regexps
daemon@ATHENA.MIT.EDU (Mon Mar 25 11:34:24 1996
)
Date: Mon, 25 Mar 1996 10:20:27 -0600 (CST)
From: Stephen Smoogen <smooge@duracef.shout.net>
To: coldstuff@cold.org
In-Reply-To: <199603251535.QAA19382@regoc.srce.hr>
On Mon, 25 Mar 1996, Miroslav Silovic wrote:
> >
> >
> > As I recall, one of the big problems Greg faced when choosing how to
> > implement regexps was to find a way to easily implement MOO-style
> > 'incomplete command' expressions. In MOO, you canhave a verb
> > 'foob*ar' that will match foob, fooba and foobar. How does one
> > construct this with a perl regexp? hrmm... 'foob|fooba|foobar'
I think fooba?r? which would match foob fooba foobar (also foobr)
> We have templates for those. There is no easy way to simulate MOO
> commands with any standard flavour of regexps.
Aint that the truth :)
------------------------------------------------------------------------------
Stephen John Smoogen
Recovering Sysadmin (well ok... I still sysadmin... I cant stop)..
217-351-8093