summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2019-06-16 22:52:05 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-16 22:54:54 +0200
commit03c09b1b0d7dfdab9fc87bc7b017455c45141ced (patch)
treeca5f9543a9755606c510669ac7ad67c57c7f13d7
parent6a6634b02d73cc93cd7368cf2290940b57fae9c7 (diff)
downloadvyos-1x-03c09b1b0d7dfdab9fc87bc7b017455c45141ced.tar.gz
vyos-1x-03c09b1b0d7dfdab9fc87bc7b017455c45141ced.zip
T1439: remove beginning and end anchors, they are implied with re.fullmatch
-rw-r--r--interface-definitions/dhcpv6-server.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/dhcpv6-server.xml b/interface-definitions/dhcpv6-server.xml
index 09ffe67ed..e18a58608 100644
--- a/interface-definitions/dhcpv6-server.xml
+++ b/interface-definitions/dhcpv6-server.xml
@@ -279,7 +279,7 @@
<properties>
<help>Name of static mapping</help>
<constraint>
- <regex>^[-_a-zA-Z0-9.]+$</regex>
+ <regex>[-_a-zA-Z0-9.]+</regex>
</constraint>
<constraintErrorMessage>Invalid static-mapping name. May only contain letters, numbers and .-_</constraintErrorMessage>
</properties>
@@ -298,7 +298,7 @@
<description>DUID: colon-separated hex list (as used by isc-dhcp option dhcpv6.client-id)</description>
</valueHelp>
<constraint>
- <regex>^([0-9A-Fa-f]{1,2}[:])*([0-9A-Fa-f]{1,2})$</regex>
+ <regex>([0-9A-Fa-f]{1,2}[:])*([0-9A-Fa-f]{1,2})</regex>
</constraint>
</properties>
</leafNode>