From 8ae02a738df9746ad648a9611ae03e62b5af9e5d Mon Sep 17 00:00:00 2001 From: zsdc Date: Mon, 28 Oct 2019 17:41:15 +0200 Subject: [XML templates] T1772: Changed old hacks to proper regex, according to the fix --- interface-definitions/https.xml | 2 +- interface-definitions/interfaces-bonding.xml | 2 +- interface-definitions/snmp.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/https.xml b/interface-definitions/https.xml index 2fb3bf082..403d4ecb0 100644 --- a/interface-definitions/https.xml +++ b/interface-definitions/https.xml @@ -27,7 +27,7 @@ - ^\\*$ + ^\*$ diff --git a/interface-definitions/interfaces-bonding.xml b/interface-definitions/interfaces-bonding.xml index c71482d9c..ba1acfff6 100644 --- a/interface-definitions/interfaces-bonding.xml +++ b/interface-definitions/interfaces-bonding.xml @@ -159,7 +159,7 @@ combine IP address and port to make hash - (layer2\\+3|layer3\\+4|layer2) + (layer2\+3|layer3\+4|layer2) hash-policy must be layer2 layer2+3 or layer3+4 diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml index 1634bfb64..c5f424e6f 100644 --- a/interface-definitions/snmp.xml +++ b/interface-definitions/snmp.xml @@ -604,7 +604,7 @@ Specifies the oid - ^[0-9]+(\\.[0-9]+)*$ + ^[0-9]+(\.[0-9]+)*$ OID must start from a number @@ -618,7 +618,7 @@ Defines a bit-mask that is indicating which subidentifiers of the associated subtree OID should be regarded as significant - ^[0-9a-f]{2}([\\.:][0-9a-f]{2})*$ + ^[0-9a-f]{2}([\.:][0-9a-f]{2})*$ MASK is a list of hex octets, separated by '.' or ':' -- cgit v1.2.3