[issue25953] re fails to identify invalid numeric group references in replacement strings
SilentGhost
report at bugs.python.org
Fri Dec 25 15:53:11 EST 2015
SilentGhost added the comment:
Well, at least on the surface of it, the fix seems pretty straightforward:
check for the group index. With this patch the behaviour is as expected, but I get two tests erroring out since they're expecting differently worded error. This probably needs adjustments to those tests as well as C code written.
----------
keywords: +patch
nosy: +SilentGhost
versions: +Python 3.6
Added file: http://bugs.python.org/file41422/issue25953.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25953>
_______________________________________
More information about the Python-bugs-list
mailing list