summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-24 08:47:28 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-24 08:48:40 +0100
commit58b29610221a8f80bea1cfacbd2112f3690fe734 (patch)
treeaabd6c01a8eca8559ee38b9a4a66ac7dec6ef9db /interface-definitions/include/constraint
parentb49c10c43266b053ff662cde8bbd110e17767a2b (diff)
downloadvyos-1x-58b29610221a8f80bea1cfacbd2112f3690fe734.tar.gz
vyos-1x-58b29610221a8f80bea1cfacbd2112f3690fe734.zip
xml: T5109: use common include file for alpha-numeric, hyphen and underscore regex
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r--interface-definitions/include/constraint/alpha-numeric-hyphen-underscore.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore.xml.in b/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore.xml.in
new file mode 100644
index 000000000..eb568d7d9
--- /dev/null
+++ b/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore.xml.in
@@ -0,0 +1,3 @@
+<!-- include start from include/constraint/alpha-numeric-hyphen-underscore.xml.in -->
+<regex>[-_a-zA-Z0-9]+</regex>
+<!-- include end -->