[issue7940] re.finditer and re.findall should support negative end positions
Ezio Melotti
report at bugs.python.org
Sun Jul 14 09:26:18 EDT 2019
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
The current behavior is inconsistent because the start position accepts both positive and negative indices, whereas the end position only accepts positive indices.
I think the proposal and the PR written by Anil are reasonable and should be merged.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue7940>
_______________________________________
More information about the Python-bugs-list
mailing list