
On Mon, 2006-08-07 at 20:38 +0100, Chris Kuklewicz wrote:
skaller wrote:
Wouldn't it be nice to use Ville Laurikari's TRE package instead of PCRE?
[It is also Posix compliant and drop in replacement for gnu regex .. as well as supporting nice extensions]
It is possible to add support for more backends. The more the merrier, no need to replace anything. I have never heard of TRE before.
TRE is actually based on mathematics.
I could use darcs or darwinports to install libtre. Looking at the API, I see that it is very easy to add as a backend. TRE is LGPL, which PCRE is BSD.
Appeal to Ville to change the licence :)
TRE is not a replacement for PCRE.
Who want's a replacement? PCRE is junk. Check the papers, cached here: http://felix.sf.net/papers/regex-submatch.ps http://felix.sf.net/papers/spire2000-tnfa.ps http://felix.sf.net/papers/greedy.pdf -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net