Revert regex string

This commit is contained in:
Eric Torres 2019-04-18 22:04:16 -07:00
parent b2c52994a2
commit 73246c3ccc
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class Repository(Hierarchy):
* Contain slashes
* Are empty values
Valid names match the regex ``[\\w]+[^/]*``
Valid names match the regex ``[\\w._+-]+[^/]*``
:param name: name to validate
:type name: str

View File

@ -19,7 +19,7 @@ TESTING_PACKAGE = "rbackup.struct"
TESTING_MODULE = f"{TESTING_PACKAGE}.repository"
SS_MODULE = f"{TESTING_PACKAGE}.snapshot"
VALID_SNAPSHOT_NAME = r"[\w._@:+-]+[^/]*"
VALID_SNAPSHOT_NAME = r"[\w._+-]+[^/]*"
# ========== Integration Tests ==========