[erlang-questions] regexp sux!

Robert Virding robert.virding@REDACTED
Sun May 20 13:51:59 CEST 2007

A few comments about that seeing it is my fault. :-) Anchoring, ^ and $, 
doesn't work when compiling the regexp with compile, but it should work 
when running it directly or with just parse. If it doesn't then it is  bug.

I am working on some new regexp modules with both POSIX and PERL style 
regexps. There will probably be two modules as they don't just have 
different features but also different semantics, they will find 
different matches.

What features are people mainly interested in? What should I focus on to 
start with?

N.B. I am implementing it all in Erlang and not doing an interface to a 
"C" library like PCRE. I mean where's the fun in that?


Luke Gorrie wrote:
> Robert Virding <robert.virding@REDACTED> writes:
>> There is a new version of regexp in the pipe which:
> Today I'm in the market for a fast regexp matcher so please send me a
> copy if you have it handy :-)
> I had a quick look at the one on trapexit but it crashed on the regexp
> "^x" in build_nfa (a missing clause).
> BTW years ago I ported the OTP Erlang regexp matcher to Haskell and
> John Hughes immediately found a bug with Quickcheck. Now that
> Quickcheck exists for Erlang too the OTP folks might find it handy.
> Unfortunately this was on an infernal "Yahoo! Groups" forum and
> it seems to have garbage collected the source code.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list