Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/specifications/dependency-specifiers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ document we limit the acceptable values for identifiers to that regex. A full
redefinition of name may take place in a future metadata PEP. The regex (run
with re.IGNORECASE) is::

^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$
^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])\Z

.. _dependency-specifiers-extras:

Expand Down
2 changes: 1 addition & 1 deletion source/specifications/name-normalization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ underscore and hyphen. It must start and end with a letter or number.
This means that valid project names are limited to those which match the
following regex (run with :py:data:`re.IGNORECASE`)::

^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$
^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])\Z


.. _name-normalization:
Expand Down