[issue18647] re.error: nothing to repeat
Serhiy Storchaka
report at bugs.python.org
Sun Aug 4 22:44:48 CEST 2013
Serhiy Storchaka added the comment:
Agree. Here is a partial patch which fixes getwidth() and doctest regexp. But I don't know how to fix _simple(). Perhaps we should permanently remove the "nothing to repeat" check. It guards only against '(.*)*', but there are other methods to make regexp matching exponential (i.e. '(.?.?)*').
----------
keywords: +patch
Added file: http://bugs.python.org/file31159/issue18647.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18647>
_______________________________________
More information about the Python-bugs-list
mailing list