]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126505: Fix bugs in compiling case-insensitive character classes (GH-126557)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 11 Nov 2024 16:27:26 +0000 (18:27 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Nov 2024 16:27:26 +0000 (18:27 +0200)
commit819830f34a11ecaa3aada174ca8eedeb3f260630
treeb327077f72d7a8a2e9f5ae7b7121f9fa57b4d67b
parent9fc2808eaf4e74a9f52f44d20a7d1110bd949d41
gh-126505: Fix bugs in compiling case-insensitive character classes (GH-126557)

* upper-case non-BMP character was ignored
* the ASCII flag was ignored when matching a character range whose
  upper bound is beyond the BMP region
Lib/re/_compiler.py
Lib/test/test_re.py
Misc/NEWS.d/next/Library/2024-11-07-22-41-47.gh-issue-126505.iztYE1.rst [new file with mode: 0644]