[erlang-questions] Regular Expressions in Erlang
Thu Dec 20 09:22:18 CET 2007
On Wed, 2007-12-19 at 18:14 +0000, Tomasz Blachowicz wrote:
> If there are any other decent implementations of regexp available
> please let me know.
i use gregexp (written by pascal brisset);
it does submatches and is (or at least used to be) quite a bit faster
than the pretty pathetic OTP regexp.
rumour has it that robert virding is working on a new erlang
implementation; couldn't find any code by googling though.
if you want a real (as in something used outside the erlang world)
regexp, the links below shows how to turn the PCRE (http://www.pcre.org)
library into a couple of BIFs (code by istvan varadi). used to work very
well in R11B.
if i had to do it again i'd chose the TRE library instead.
of course, seems like it's already been done by some French guy;
Claes "klacke" Wikström will of course not be outdone;
this got to be a bit longer that i intended. i'll post it anyways to
aid future googlers.
More information about the erlang-questions