Yes, that is/will be the new one. It is still experimental and you can get a better idea of what is coming by looking at the EEP for it:<br><br><a href="http://www.erlang.org/eeps/eep-0011.html">http://www.erlang.org/eeps/eep-0011.html</a><br>
<br>Robert<br><br><div class="gmail_quote">2008/10/30 Edwin Fine <span dir="ltr"><<a href="mailto:erlang-questions_efine@usa.net">erlang-questions_efine@usa.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I thought the re module was supposed to be the new one (<a href="http://www.erlang.org/doc/man/re.html" target="_blank">http://www.erlang.org/doc/man/re.html</a>), in experimental status but definitely in the current Erlang release, and regexp is the old one that's being replaced. Is there another new one coming that's different from re?<br>

<br>Regards<br><font color="#888888">Edwin Fine</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 8:34 PM, David Mitchell <span dir="ltr"><<a href="mailto:monch1962@gmail.com" target="_blank">monch1962@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you have a pointer to info about the new Erlang regular expression<br>
module?  I've heard bits and pieces about it, but haven't found any<br>
solid information other than "it's coming, and it'll be better than<br>
the current one".<br>
<br>
A large part of what I do is message handling, which involves tearing<br>
apart incoming messages (which might be XML, or binary data, or MQ<br>
data, or Oracle SQL*Net client requests, or ...), examining the<br>
content, then either routing the message to somewhere else, or<br>
extracting content from the incoming message and using it to build a<br>
suitable response.  Regex is the way to go for tearing apart this type<br>
of data (well, if the incoming data is XML, then I'll parse out the<br>
individual field/s I'm interested in first using an XML parser, then<br>
often use regex to extract the info from within individual fields);<br>
I've tried using Erlang's pattern matching to achieve the same result,<br>
but the code required to do so was just too clunky and difficult to<br>
maintain.<br>
<br>
At the moment, Perl 5.10 is what I'm using; as of 5.10, the thread<br>
handling is much improved, and Perl's regex handling is basically as<br>
good as it gets.  The limitation is that Perl has no easy way to scale<br>
load across multiple machines, which is an ongoing problem for us.<br>
There's also the broader problem of it being a challenge to write Perl<br>
code that is maintainable, long-term.<br>
<br>
I'd really like to be doing this in Erlang, for any number of reasons.<br>
 A more powerful regex module would be a huge help in making this<br>
happen.<br>
<br>
Regards<br>
<br>
Dave M.<br>
<br>
2008/10/30 Robert Virding <<a href="mailto:rvirding@gmail.com" target="_blank">rvirding@gmail.com</a>>:<br>
<div><div></div><div>> As the new regular expression module is coming soon and after all the<br>
> discussions on the net of how slow the old module was/is I was just<br>
> wondering how they are used in "real life"? What type of searches are<br>
> typically done on what type of data? Is there a typical usage?<br>
><br>
> For example do people use regexps to pull apart a small string into<br>
> components, like an URL? Or search for a match in a 100Mb data file? Or<br>
> what? Or all of the above?<br>
><br>
> I am just curious as to how they are used.<br>
><br>
> Robert<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>