diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-03 17:20:13 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-01-03 17:22:59 +0100 |
commit | 82b4b2db8fda51df172210f470e5825b91e81de4 (patch) | |
tree | c990896cebda663490052035d2fe379e6f02fb29 /interface-definitions/include/constraint | |
parent | c08fea7a5d98e1626788280ac51f7131f3f29308 (diff) | |
download | vyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.tar.gz vyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.zip |
xml: T5738: add constraint building block with alphanumeric, hypen, underscore and dot
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r-- | interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i | 3 |
1 files changed, 3 insertions, 0 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 new file mode 100644 index 000000000..7aeb85260 --- /dev/null +++ b/interface-definitions/include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i @@ -0,0 +1,3 @@ +<!-- include start from constraint/alpha-numeric-hyphen-underscore-dot.xml.i --> +<regex>[-_a-zA-Z0-9.]+</regex> +<!-- include end --> |