From e71592e0f8e6139ce6aebac005c1426c87bd1149 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 26 Dec 2019 19:30:46 +0100 Subject: xml: remove leading carrot (^) from regex syntax ... as the carrot is applied automatically when reading in the XML definition. Auto replaced by: $ find interface-definitions -type f | xargs sed -i 's/regex>^/regex>/' --- interface-definitions/interfaces-wireguard.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface-definitions/interfaces-wireguard.xml.in') diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index bbe9a5d03..74319f705 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -75,7 +75,7 @@ base64 encoded public key - ^[0-9a-zA-Z\+/]{43}=$ + [0-9a-zA-Z\+/]{43}=$ Key is not valid 44-character (32-bytes) base64 @@ -84,7 +84,7 @@ base64 encoded preshared key - ^[0-9a-zA-Z\+/]{43}=$ + [0-9a-zA-Z\+/]{43}=$ Key is not valid 44-character (32-bytes) base64 -- cgit v1.2.3