Re: [dcdev] On regex'es...
[email protected]
2004-01-23 4:06
Direct Connect developers

At 03:46 AM 1/23/2004 +0100, you wrote:
While I do like perl regexes (of course...), I'd say that POSIX
extended regexes probably is the best option. I say that because it is
a specified standard, and thus, unlike perl REs, it doesn't lock you
to a specific implementation, but there are several to choose
from. For example, I'm fairly sure that the "RX" package from
gnuwin32.sf.net implements POSIX extended REs. It's also the standard
behavior of glibc on GNU systems (provided that you give the
REG_EXTENDED flag). POSIX extended REs also do contain almost all
features you'd ever want.

Among regex flavors, I prefer that Perl5 one as well. There are several available implementations, too:

Java: http://jregex.sourceforge.net/
Win32 C: http://www.psyon.org/projects/pcre-win32/, http://gnuwin32.sourceforge.net/packages/pcre.htm
Win32 C++: http://research.microsoft.com/projects/greta/
Python: http://python.org/doc/2.3.3/lib/re-syntax.html

More, probably, but that's whay I found in a few minutes.

DC Developers mailinglist