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/include/ospf/authentication.xml.i | 4 ++-- .../include/ospf/protocol-common-config.xml.i | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'interface-definitions/include/ospf') diff --git a/interface-definitions/include/ospf/authentication.xml.i b/interface-definitions/include/ospf/authentication.xml.i index 1e6050b97..8e8cad067 100644 --- a/interface-definitions/include/ospf/authentication.xml.i +++ b/interface-definitions/include/ospf/authentication.xml.i @@ -29,7 +29,7 @@ MD5 Key (16 characters or less) - ^[^[:space:]]{1,16}$ + [^[:space:]]{1,16} Password must be 16 characters or less @@ -46,7 +46,7 @@ Plain text password (8 characters or less) - ^[^[:space:]]{1,8}$ + [^[:space:]]{1,8} Password must be 8 characters or less diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i index 3a3372e47..c156d5b1c 100644 --- a/interface-definitions/include/ospf/protocol-common-config.xml.i +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -45,7 +45,7 @@ Filter static routes - ^(bgp|connected|isis|kernel|rip|static)$ + (bgp|connected|isis|kernel|rip|static) Must be bgp, connected, kernel, rip, or static @@ -123,7 +123,7 @@ Never translate LSA types - ^(always|candidate|never)$ + (always|candidate|never) candidate @@ -172,7 +172,7 @@ Use MD5 authentication - ^(plaintext-password|md5)$ + (plaintext-password|md5) @@ -252,7 +252,7 @@ Enable shortcutting mode - ^(default|disable|enable)$ + (default|disable|enable) @@ -432,7 +432,7 @@ Point-to-point network type - ^(broadcast|non-broadcast|point-to-multipoint|point-to-point)$ + (broadcast|non-broadcast|point-to-multipoint|point-to-point) Must be broadcast, non-broadcast, point-to-multipoint or point-to-point @@ -586,7 +586,7 @@ Standard ABR type - ^(cisco|ibm|shortcut|standard)$ + (cisco|ibm|shortcut|standard) cisco @@ -617,7 +617,7 @@ Default to suppress routing updates on all interfaces - ^(default)$ + (default) -- cgit v1.2.3