[issue7940] re.finditer and re.findall should support negative end positions
Sept. 9, 2019
4:45 p.m.
Zachary Ware <zachary.ware@gmail.com> added the comment: Ezio requested further opinions, so here's mine. I don't think the current behavior makes sense; I doubt anyone actually expects a negative index to be squashed to 0, especially for endpos. I'm not certain that allowing negative indexes is really necessary, but seems nicer than raising an exception which would be the other acceptable option to me. ---------- nosy: +zach.ware _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue7940> _______________________________________
1961
Age (days ago)
1961
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zachary Ware