Lookery Dev Blog RSS

"Stream of geeky consciousness..." @electromute


Authors
@ckelly@danmil
@dcancel@eliast

Friends


Archive

Oct
30th
Thu
permalink

Better regex’s coming in Erlang

Things are moving quickly in the Erlang world, apparently.  The regexp module, which has been around for a while, is, by most accounts, no kind of good.  It’s painfully slow, lacking in modern features, and not very binary (or unicode) friendly.  However, turns out that there’s a new re module, which fixes all of that, integrating Perl-style regex’s via the PCRE library.  It’s still “experimenal”, subject to final approval of an Erlang Enhancement Proposal (EEP), but it’s there in R12B4 if you want to use it:

http://www.erlang.org/doc/man/re.html

Also, the EEP makes for fascinating reading to understand what’s involved in making external libraries play nice with Erlang’s massively concurrent world:

http://www.erlang.org/eeps/eep-0011.html

-Dan M

Comments (View)
blog comments powered by Disqus