gh-126505: Fix bugs in compiling case-insensitive character classes#126557
gh-126505: Fix bugs in compiling case-insensitive character classes#126557serhiy-storchaka merged 1 commit intopython:mainfrom
Conversation
…sses * 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
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…sses (pythonGH-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 (cherry picked from commit 819830f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-126689 is a backport of this pull request to the 3.13 branch. |
…sses (pythonGH-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 (cherry picked from commit 819830f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-126690 is a backport of this pull request to the 3.12 branch. |
if fixup: # IGNORECASE and not LOCALE
av = fixup(av)
charmap[av] = 1The You can if op is RANGE:
if fixes: # not ASCII
op = RANGE_UNI_IGNORE
hascased = True
else:
assert op is LITERAL
if not hascased and iscased(av):
hascased = True
av = fixup(av) # <- fixup() here
tail.append((op, av))
break |
|
|
|
Ok, this is not an important issue. |
…sses (pythonGH-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
…sses (pythonGH-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
Uh oh!
There was an error while loading. Please reload this page.