[issue25953] re fails to identify invalid numeric group references in replacement strings

SilentGhost report at bugs.python.org
Thu Oct 20 15:32:27 EDT 2016


SilentGhost added the comment:

Updated patch taking Serhiy's comments into account.

There was another case on line 725 for when zero is used as a group number, I'm not sure though if it falls within the scope of this issue, so it's not included in the current patch.

----------
versions:  -Python 3.5
Added file: http://bugs.python.org/file45158/25953_3.diff

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


More information about the Python-bugs-list mailing list