[Python-Dev] Should we move to replace re with regex?

Guido van Rossum guido at python.org
Sat Aug 27 00:47:21 CEST 2011


On Fri, Aug 26, 2011 at 3:33 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Fri, 26 Aug 2011 15:18:35 -0700
> Guido van Rossum <guido at python.org> wrote:
>>
>> I can't say I liked how that transition was handled last time around.
>> I really don't want to have to tell people "Oh, that bug is fixed but
>> you have to use regex instead of re" and then a few years later have
>> to tell them "Oh, we're deprecating regex, you should just use re".
>>
>> I'm really hoping someone has more actual technical understanding of
>> re vs. regex and can give us some facts about the differences, rather
>> than, frankly, FUD.
>
> The best way would be to contact the author, Matthew Barnett,

I had added him to the beginning of this thread but someone took him off.

> or to ask
> on the tracker on http://bugs.python.org/issue2636. He has been quite
> willing to answer such questions in the past, AFAIR.

So, that issue is about something called "regexp". AFAIK Matthew
(MRAB) wrote something called "regex"
(http://pypi.python.org/pypi/regex). Are they two different things???

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list