New implementation of re module

MRAB python at mrabarnett.plus.com
Tue Jul 28 10:59:06 EDT 2009


Aahz wrote:
> In article <mailman.3787.1248712420.8015.python-list at python.org>,
> MRAB  <python at mrabarnett.plus.com> wrote:
>> I've been working on a new implementation of the re module. The details
>> are at http://bugs.python.org/issue2636, specifically from
>> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
>> Python 2.6 on Windows if you want to try it out.
> 
> How does it handle the re module's unit tests?

Basically, it passes all those tests I expect it to pass. :-)

It fails those where the intended behaviour has changed, such as re.sub
treating unmatched groups as empty strings, as requested in
http://bugs.python.org/issue1519638.



More information about the Python-list mailing list