<br><br><div class="gmail_quote">On Thu, Jul 8, 2010 at 12:52 PM, MRAB <span dir="ltr">&lt;<a href="mailto:python@mrabarnett.plus.com">python@mrabarnett.plus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi all,<br>
<br>
I re-implemented the re module, adding new features and speed<br>
improvements. It&#39;s available at:<br>
<br>
    <a href="http://pypi.python.org/pypi/regex" target="_blank">http://pypi.python.org/pypi/regex</a><br>
<br>
under the name &quot;regex&quot; so that it can be tried alongside &quot;re&quot;.<br>
<br>
I&#39;d be interested in any comments or feedback. How does it compare with<br>
&quot;re&quot; in terms of speed on real-world data? The benchmarks suggest it<br>
should be faster, or at worst comparable.<br>
<br>
How much interest would there be in putting it in Python 3.2?</blockquote><div><br></div><div>A big +1 from me.  I&#39;m all for putting it in Python 3.2 alphas and beta1 as a *replacement* for the existing &#39;re&#39; module in order to get it visibility and a shakeout and make this available to the world sooner rather than later.  This module was designed for compatibility for exactly that reason.  Lets give it a high publicity fair shake it iron out any unknown compatibility issues early on so that we can decide how to proceed.</div>

<div><br></div><div>Also, +1 to Antoine&#39;s point on volunteering to be the maintainer of it for the next couple major releases.</div><div><br></div><div>(I do expect someone to balk at this idea with &quot;but python 3.x doesn&#39;t have enough users yet for a beta cycle to shake out hidden regular expression engine assumption bugs&quot; to which I&#39;ll respond in advance with &quot;thats a good thing; we can add a regular expression sniffer to 2to3 that flags potential problems in code being ported over&quot;)</div>

<div><br></div><div>-gps</div></div>