New implementation of re module
aahz at pythoncraft.com
Tue Jul 28 22:57:37 CEST 2009
In article <mailman.3843.1248793153.8015.python-list at python.org>,
MRAB <python at mrabarnett.plus.com> 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
Then you should definitely publish to PyPI and post a message to
c.l.py.announce to get more users.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"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