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/dns-domain-name.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions/dns-domain-name.xml.in') diff --git a/interface-definitions/dns-domain-name.xml.in b/interface-definitions/dns-domain-name.xml.in index c16f0b02a..eeaa5b2c1 100644 --- a/interface-definitions/dns-domain-name.xml.in +++ b/interface-definitions/dns-domain-name.xml.in @@ -48,7 +48,7 @@ DNS domain completion order - ^[-a-zA-Z0-9.]+$ + [-a-zA-Z0-9.]+$ Invalid domain name @@ -74,7 +74,7 @@ Host name for static address mapping - ^[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]$ + [A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]$ invalid hostname @@ -83,7 +83,7 @@ Alias for this address - ^.{1,63}$ + .{1,63}$ invalid alias hostname, needs to be between 1 and 63 charactes -- cgit v1.2.3