[940] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: [COLD] regular expressions

daemon@ATHENA.MIT.EDU (Fri Mar 22 19:03:59 1996 )

From: silovic@srce.hr (Miroslav Silovic)
To: coldstuff@cold.org
Date: Sat, 23 Mar 1996 00:35:29 +0100 (MET)
In-Reply-To: <Pine.BSF.3.91.960322124011.4983A-100000@tombstone.sunrem.com> from "Brandon Gillespie" at Mar 22, 96 12:58:31 pm

> 
> Since there is a POSIX standard for regular expressions, should we hook into
> the system regular expressions if they exist, resorting to our own regexp 
> code if it does not?
> 
> The problems which could arise with this is that the current POSIX 
> standard seems to be somewhat vague, leaving openings for interpretation 
> by implementors.  Basically, certain aspects of regular expressions could 
> change depending on what OS the driver is running under.
> 

I think we should use Perl regexp (if you feel like isolating its
source). At least I can tell which characters need to be backslashed and
when in Perl regexp. :) It's also somewhat standard and powerful
enough.

	Miro