Skip to content

Commit 059e815

Browse files
authored
Fix the regular expression validating extra names (#1076)
1 parent d7f6aa9 commit 059e815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/specifications/core-metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ of lowercase ASCII letters, ASCII numbers, and hyphen. It must start and end
630630
with a letter or number. Hyphens cannot be followed by another hyphen. Names are
631631
limited to those which match the following regex (which guarantees unambiguity)::
632632

633-
^([a-z0-9]|[a-z0-9]([a-z0-9-](?!-))*[a-z0-9])$
633+
^([a-z0-9]|[a-z0-9]([a-z0-9-](?!--))*[a-z0-9])$
634634

635635

636636
The specified name may be used to make a dependency conditional on whether the

0 commit comments

Comments
 (0)