From 80ecb1b7aaab47edeb355c3b74a763e940d88179 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Apr 2022 19:51:50 +0200 Subject: xml: T4047: use full string match in the regex validator --- interface-definitions/zone-policy.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions/zone-policy.xml.in') diff --git a/interface-definitions/zone-policy.xml.in b/interface-definitions/zone-policy.xml.in index eac63fa6b..8af0dcfb6 100644 --- a/interface-definitions/zone-policy.xml.in +++ b/interface-definitions/zone-policy.xml.in @@ -14,7 +14,7 @@ Zone name - ^[a-zA-Z0-9][\w\-\.]*$ + [a-zA-Z0-9][\w\-\.]* @@ -34,7 +34,7 @@ Drop and notify source - ^(drop|reject)$ + (drop|reject) drop @@ -105,7 +105,7 @@ Drop silently - ^(accept|drop)$ + (accept|drop) -- cgit v1.2.3