Skip to content

Commit

Permalink
PEP 639: Character ranges are treated locale-agnostic (#3914)
Browse files Browse the repository at this point in the history
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
  • Loading branch information
befeleme and hroncok committed Aug 20, 2024
1 parent 89ae6e0 commit 9765fa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion peps/pep-0639.rst
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ as specified below:

- Special glob characters: ``*``, ``?``, ``**`` and character ranges: ``[]``
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.

- Path delimiters MUST be the forward slash character (``/``).
Expand Down

0 comments on commit 9765fa9

Please sign in to comment.