mirror of
https://github.com/python/cpython.git
synced 2026-06-29 04:10:54 +00:00
A negated multi-range property such as \P{ASCII} or \P{Pattern_Syntax} was
rejected inside a character class. Such members are now alternated in with
the other members: [\P{ASCII}abc] becomes [abc] | [^ASCII], and [\P{ASCII}]
alone is just the negated charset.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _casefix.py | ||
| _compiler.py | ||
| _constants.py | ||
| _optimizer.py | ||
| _parser.py | ||
| _properties.py | ||