New implementation of re module

MRAB python at
Tue Jul 28 16:59:06 CEST 2009

Aahz wrote:
> In article <mailman.3787.1248712420.8015.python-list at>,
> MRAB  <python at> wrote:
>> I've been working on a new implementation of the re module. The details
>> are at, specifically from
>> 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

More information about the Python-list mailing list