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 gh-86519: Add prefixmatch APIs to the re module (GH-31137) 2026-02-15 17:43:39 -08:00
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 gh-67877: Fix memory leaks in terminated RE matching (GH-126840) 2024-11-18 11:53:45 +02:00
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