renamed REGEX[FULLDIRPATH] to REGEX[DIRPATH]

This commit is contained in:
m8in
2026-06-18 20:17:40 +02:00
parent 17ae3a6c1e
commit e5873c56ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ function prepare.setREGEX() {
REGEX[COMMAND]='^([]a-zA-Z0-9[|/_:,." -]+)$' #WARNING: Escaping does not work properly here, so we need to position the special characters in a clever way.
REGEX[COMPOSITION]='^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$'
REGEX[DOMAIN]='^([a-zA-Z][a-zA-Z0-9\.-]*)?[a-zA-Z]{2,}$'
REGEX[FULLDIRPATH]='^/([a-zA-Z0-9\._-]+/)*$'
REGEX[DIRPATH]='/([a-zA-Z0-9._-]+/)*'
REGEX[SNAPSHOT]='^@[a-zA-Z]([a-zA-Z0-9\.:_-]*[a-zA-Z0-9])?$'
REGEX[SYNCSNAPSHOT]='^@SYNC_[a-zA-Z0-9\.:_-]*[a-zA-Z0-9]$'
REGEX[USER]='^[a-zA-Z]([-a-zA-Z0-9\._]*[a-zA-Z0-9])?$'