Revert regex string
This commit is contained in:
parent
b2c52994a2
commit
73246c3ccc
@ -148,7 +148,7 @@ class Repository(Hierarchy):
|
|||||||
* Contain slashes
|
* Contain slashes
|
||||||
* Are empty values
|
* Are empty values
|
||||||
|
|
||||||
Valid names match the regex ``[\\w]+[^/]*``
|
Valid names match the regex ``[\\w._+-]+[^/]*``
|
||||||
|
|
||||||
:param name: name to validate
|
:param name: name to validate
|
||||||
:type name: str
|
:type name: str
|
||||||
|
@ -19,7 +19,7 @@ TESTING_PACKAGE = "rbackup.struct"
|
|||||||
TESTING_MODULE = f"{TESTING_PACKAGE}.repository"
|
TESTING_MODULE = f"{TESTING_PACKAGE}.repository"
|
||||||
SS_MODULE = f"{TESTING_PACKAGE}.snapshot"
|
SS_MODULE = f"{TESTING_PACKAGE}.snapshot"
|
||||||
|
|
||||||
VALID_SNAPSHOT_NAME = r"[\w._@:+-]+[^/]*"
|
VALID_SNAPSHOT_NAME = r"[\w._+-]+[^/]*"
|
||||||
|
|
||||||
|
|
||||||
# ========== Integration Tests ==========
|
# ========== Integration Tests ==========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user