A bug in Python's regular expression engine?
Just Another Victim of the Ambient Morality
ihatespam at hotmail.com
Tue Nov 27 16:48:42 CET 2007
This won't compile for me:
regex = re.compile('(.*\\).*')
I get the error:
sre_constants.error: unbalanced parenthesis
I'm running Python 2.5 on WinXP. I've tried this expression with
another RE engine in another language and it works just fine which leads me
to believe the problem is Python. Can anyone confirm or deny this bug?
More information about the Python-list