Skip to content

Commit

Permalink
Allow caps in dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd authored Sep 25, 2023
1 parent ea29215 commit bdf093b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gto/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def tag_to_name(value):
return value.replace(SEPARATOR_IN_TAG, SEPARATOR_IN_NAME)


dirname = "[a-z0-9-_./]+" # improve?
dirname = "[a-zA-Z0-9-_./]+" # improve?
name = r"[a-z0-9]([a-z0-9-/_]*[a-z0-9])?"
semver = r"(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?"
counter = "?P<counter>[0-9]+"
Expand Down

0 comments on commit bdf093b

Please sign in to comment.