New implementation of re module

Aahz aahz at
Tue Jul 28 22:57:37 CEST 2009

In article <mailman.3843.1248793153.8015.python-list at>,
MRAB  <python at> wrote:
>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

Then you should definitely publish to PyPI and post a message to to get more users.
Aahz (aahz at           <*>

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer

More information about the Python-list mailing list