From c1d834cf38d67cee29c7cd538471fb8990e51649 Mon Sep 17 00:00:00 2001 From: Jernej Jakob Date: Sun, 16 Jun 2019 22:52:05 +0200 Subject: T1439: remove beginning and end anchors, they are implied with re.fullmatch (cherry picked from commit 03c09b1b0d7dfdab9fc87bc7b017455c45141ced) --- interface-definitions/dhcpv6-server.xml | 4 ++-- 1 file 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 @@ Name of static mapping - ^[-_a-zA-Z0-9.]+$ + [-_a-zA-Z0-9.]+ Invalid static-mapping name. May only contain letters, numbers and .-_ @@ -298,7 +298,7 @@ DUID: colon-separated hex list (as used by isc-dhcp option dhcpv6.client-id) - ^([0-9A-Fa-f]{1,2}[:])*([0-9A-Fa-f]{1,2})$ + ([0-9A-Fa-f]{1,2}[:])*([0-9A-Fa-f]{1,2}) -- cgit v1.2.3