From be5d95ecc74c5552072a2b6628d19d3eeda3a9df 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 (cherry picked from commit 8ae02a738df9746ad648a9611ae03e62b5af9e5d) --- interface-definitions/https.xml | 2 +- interface-definitions/snmp.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/https.xml b/interface-definitions/https.xml index f5d609f95..d9874a1f9 100644 --- a/interface-definitions/https.xml +++ b/interface-definitions/https.xml @@ -27,7 +27,7 @@ - ^\\*$ + ^\*$ diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml index c52669e24..9aaaf29b4 100644 --- a/interface-definitions/snmp.xml +++ b/interface-definitions/snmp.xml @@ -552,7 +552,7 @@ Specifies the oid - ^[0-9]+(\\.[0-9]+)*$ + ^[0-9]+(\.[0-9]+)*$ OID must start from a number @@ -566,7 +566,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