cpython/Lib/re
Serhiy Storchaka bd4bd3e76a
gh-152100: Support set operations in character classes (GH-152153)
Implement set difference [A--B], intersection [A&&B] and union [A||B] in
regular expression character classes (Unicode Technical Standard #18),
including nested, complemented and compound set operands.  Symmetric
difference [A~~B] remains reserved.

Also use the new syntax in the standard library (_strptime, textwrap,
doctest, pkgutil).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 10:09:41 +03:00
..
__init__.py gh-86519: Add prefixmatch APIs to the re module (GH-31137) 2026-02-15 17:43:39 -08:00
_casefix.py Fix syntax in generate_re_casefix.py (#122699) 2024-08-05 23:16:29 -07:00
_compiler.py gh-152033: Optimize category escapes outside character sets (GH-152035) 2026-06-24 08:49:14 +03:00
_constants.py gh-111259: Optimize complementary character sets in RE (GH-120742) 2024-06-20 07:19:32 +00:00
_parser.py gh-152100: Support set operations in character classes (GH-152153) 2026-06-25 10:09:41 +03:00