PEP 639: Character ranges are treated locale-agnostic (#3914)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Karolina Surma 2024-08-20 23:03:18 +02:00 committed by GitHub
parent 89ae6e0e30
commit 9765fa989f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -528,7 +528,8 @@ as specified below:
- Special glob characters: ``*``, ``?``, ``**`` and character ranges: ``[]`` - Special glob characters: ``*``, ``?``, ``**`` and character ranges: ``[]``
containing only the verbatim matched characters MUST be supported. containing only the verbatim matched characters MUST be supported.
Within ``[...]``, the hyphen indicates a range (e.g. ``a-z``). Within ``[...]``, the hyphen indicates a locale-agnostic range (e.g. ``a-z``,
order based on Unicode code points).
Hyphens at the start or end are matched literally. Hyphens at the start or end are matched literally.
- Path delimiters MUST be the forward slash character (``/``). - Path delimiters MUST be the forward slash character (``/``).