<br><div class="gmail_quote">On Fri, Aug 26, 2011 at 5:08 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>></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 <<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>> wrote:<br>
><br>
> Then there probably should be a from __future__ import for a while.<br>
<br>
</div>If you are willing to use a "from __future__ import", why not simply<br>
<br>
import regex as re<br>
<br>
? We're not Perl, we don't have built-in syntactic support for regular<br>
expressions.<br>
<br>
Regards<br></blockquote><div><br>If you add regex as "import regex", and the new regex module doesn'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's going to work.<br>
<br>EG: "from __future__ import re", where re is really the new module.<br><br>But whatever.<br><br></div></div>