[3.7] bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546) by miss-islington · Pull Request #11919 · python/cpython
…onGH-11546) Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases. Also add a missing index in re.rst. (cherry picked from commit 4a7f44a) Co-authored-by: animalize <animalize@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters