diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2019-06-16 22:52:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-04 21:27:00 +0200 |
commit | c1d834cf38d67cee29c7cd538471fb8990e51649 (patch) | |
tree | abf9f4bd67a9e3579e2a2601552a0c1390e8cc6b /interface-definitions | |
parent | 294b14c3c8b9b64b780375c145b621675842031e (diff) | |
download | vyos-1x-c1d834cf38d67cee29c7cd538471fb8990e51649.tar.gz vyos-1x-c1d834cf38d67cee29c7cd538471fb8990e51649.zip |
T1439: remove beginning and end anchors, they are implied with re.fullmatch
(cherry picked from commit 03c09b1b0d7dfdab9fc87bc7b017455c45141ced)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dhcpv6-server.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/dhcpv6-server.xml b/interface-definitions/dhcpv6-server.xml index c9407d0a9..2c40d09c3 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> |