cpython/Modules/_sre
Miss Islington (bot) 93de9ba6ff
[3.15] gh-156444: Fix a negated character set with IGNORECASE and LOCALE (GH-156445) (GH-156456)
charset_loc_ignore() tested the whole set once per locale case and took
the disjunction, which complements a set before closing it under case
instead of after: [bc] matched b'B', but so did [^bc].  Match both cases
of the character against every set member instead.
(cherry picked from commit 6671d27327)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-10 12:33:22 +03:00
..
clinic
sre.c [3.15] gh-150319: Replace all documentation which says "See PEP 585" (GH-150325) (#150808) 2026-06-02 20:40:52 +00:00
sre.h
sre_constants.h
sre_lib.h [3.15] gh-156444: Fix a negated character set with IGNORECASE and LOCALE (GH-156445) (GH-156456) 2026-10-10 12:33:22 +03:00
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00