[issue2537] re.compile(r'((x|y+)*)*') should fail

Matthew Barnett report at bugs.python.org
Fri Feb 12 03:27:18 CET 2010


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

The issue started about updating the re module and adding features that other languages already possess in their regex implementations (the last time any significant work was done on it was in 2003).

The hope is that the new regex implementation will eventually replace the existing one, and putting it initially in a module called 'regex' allows it to be tested more easily.

You can do:

import regex as re

and existing code should still work.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2537>
_______________________________________


More information about the Python-bugs-list mailing list