[Python-Dev] Should we move to replace re with regex? (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Aug 27 02:08:35 CEST 2011


On Fri, 26 Aug 2011 15:48:42 -0700 Dan Stromberg <drsalists at gmail.com> wrote:

Then there probably should be a from future import for a while.

If you are willing to use a "from future import", why not simply

import regex as re

? We're not Perl, we don't have built-in syntactic support for regular expressions.

Regards

Antoine.



More information about the Python-Dev mailing list