]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-100061: Proper fix of the bug in the matching of possessive quantifiers...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Aug 2023 08:36:36 +0000 (11:36 +0300)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 08:36:36 +0000 (08:36 +0000)
commit26137e2cf70b31e93b8bb26287647915bcaa5c99
treec5703022fae9833da2dc8aa55d91391543dc3789
parent4f35d4f6f258da5fed468cd5561c1171a3735f55
[3.11] gh-100061: Proper fix of the bug in the matching of possessive quantifiers (GH-102612) (GH-108004)

Restore the global Input Stream pointer after trying to match a sub-pattern.

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
(cherry picked from commit abd9cc52d94b8e2835322b62c29f09bb0e6fcfe9)

Co-authored-by: SKO <41810398+uyw4687@users.noreply.github.com>
Lib/re/_compiler.py
Lib/test/test_re.py
Misc/NEWS.d/next/Library/2023-03-14-01-19-57.gh-issue-100061.CiXJYn.rst [new file with mode: 0644]
Modules/_sre/sre_lib.h