[Python-Dev] New regex module for 3.2?

Eric Smith eric at trueblade.com
Sun Jul 11 13:37:22 CEST 2010


On 7/11/2010 5:19 AM, anatoly techtonik wrote:
> On Fri, Jul 9, 2010 at 6:59 PM, Jeffrey Yasskin<jyasskin at gmail.com>  wrote:
>>
>> While the re2 comparison might be interesting from an abstract
>> standpoint, it intentionally supports a different regex language from
>> Python so that it can run faster and use less memory. Since re2 can
>> never replace Python's re module, it doesn't make sense to hold MRAB's
>> new module to that standard.
>
> re2 comparison is interesting from the point of if it should be
> included in stdlib.

Is "it" re2 or regex? I don't see having 2 regular expression engines in 
the stdlib.

Eric.



More information about the Python-Dev mailing list