<br><div class="gmail_quote">On Fri, Aug 26, 2011 at 5:08 PM, Antoine Pitrou <span dir="ltr">&lt;<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, 26 Aug 2011 15:48:42 -0700<br>
Dan Stromberg &lt;<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Then there probably should be a from __future__ import for a while.<br>
<br>
</div>If you are willing to use a &quot;from __future__ import&quot;, why not simply<br>
<br>
    import regex as re<br>
<br>
? We&#39;re not Perl, we don&#39;t have built-in syntactic support for regular<br>
expressions.<br>
<br>
Regards<br></blockquote><div><br>If you add regex as &quot;import regex&quot;, and the new regex module doesn&#39;t work out, regex might be harder to get rid of.  from __future__ import is an established way of trying something for a while to see if it&#39;s going to work.<br>
<br>EG: &quot;from __future__ import re&quot;, where re is really the new module.<br><br>But whatever.<br><br></div></div>