Skip to content

Commit fb63fa5

Browse files
committed
Update regex from PEP 508 as well
1 parent 00e9717 commit fb63fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/specifications/dependency-specifiers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ document we limit the acceptable values for identifiers to that regex. A full
142142
redefinition of name may take place in a future metadata PEP. The regex (run
143143
with re.IGNORECASE) is::
144144

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

147147
.. _dependency-specifiers-extras:
148148

0 commit comments

Comments
 (0)