gh-100061: Restore the global Input Stream pointer#102612
gh-100061: Restore the global Input Stream pointer#102612serhiy-storchaka merged 9 commits intopython:mainfrom
Conversation
Lib/test/test_re.py
Outdated
| self.assertIsNone(re.match("^x{}+$", "xxx")) | ||
| self.assertTrue(re.match("^x{}+$", "x{}")) | ||
|
|
||
| self.assertEqual(re.match('((.(?!C))++)', 'ABCD').span(), (0, 1)) |
There was a problem hiding this comment.
You may add a comment # gh-100061 for this test-case.
|
IMO the fix is fine. Just adjust some details (comment/new_entry). |
|
@ezio-melotti, @serhiy-storchaka (as regex experts) |
|
Thanks @uyw4687 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
|
Sorry, @uyw4687 and @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @uyw4687 and @serhiy-storchaka, I could not cleanly backport this to |
…essive quantifiers (pythonGH-102612) 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 abd9cc5) Co-authored-by: SKO <41810398+uyw4687@users.noreply.github.com>
|
GH-108003 is a backport of this pull request to the 3.12 branch. |
…essive quantifiers (pythonGH-102612) 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 abd9cc5) Co-authored-by: SKO <41810398+uyw4687@users.noreply.github.com>
|
GH-108004 is a backport of this pull request to the 3.11 branch. |
|
Uh oh!
There was an error while loading. Please reload this page.