summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-11 17:41:36 +0200
committerGitHub <noreply@github.com>2024-04-11 17:41:36 +0200
commited3c5988e2334b2775eb0cb092df69567384ddd7 (patch)
treeb0e22101e4aa3ae4bfffd7da92e0e13513fb4854 /interface-definitions/include/constraint
parentf37bfac9c020b1a6a906e1fb78679db82ee34be3 (diff)
parent187b7bace4991a2549b75e29600dc4e04c9c03d4 (diff)
downloadvyos-1x-ed3c5988e2334b2775eb0cb092df69567384ddd7.tar.gz
vyos-1x-ed3c5988e2334b2775eb0cb092df69567384ddd7.zip
Merge pull request #3293 from vyos/mergify/bp/sagitta/pr-3281
T6214: T6213: change constraint <alpha-numeric-hyphen-underscore-dot.xml.i> (backport #3281)
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r--interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i b/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i
index 7aeb85260..34c94e53c 100644
--- a/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i
+++ b/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i
@@ -1,3 +1,3 @@
<!-- include start from constraint/alpha-numeric-hyphen-underscore-dot.xml.i -->
-<regex>[-_a-zA-Z0-9.]+</regex>
+<regex>[-_a-zA-Z0-9][\w\-\.\+]*</regex>
<!-- include end -->