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/system-syslog.xml.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'interface-definitions/system-syslog.xml.in') diff --git a/interface-definitions/system-syslog.xml.in b/interface-definitions/system-syslog.xml.in index cce79a4c2..2079ec0ea 100644 --- a/interface-definitions/system-syslog.xml.in +++ b/interface-definitions/system-syslog.xml.in @@ -12,7 +12,7 @@ Logging to specific terminal of given user - ^[a-z_][a-z0-9_-]{1,31}[$]? + [a-z_][a-z0-9_-]{1,31}[$]? illegal characters in user @@ -394,7 +394,7 @@ Number of saved files (default is 5) - ^[0-9]+ + [0-9]+ illegal characters in number of files @@ -403,7 +403,7 @@ Size of log files (in kbytes, default is 256) - ^[0-9]+ + [0-9]+ illegal characters in size @@ -591,7 +591,7 @@ Logging to a file - ^[a-zA-Z0-9\-_.]{1,255} + [a-zA-Z0-9\-_.]{1,255} illegal characters in filename or filename longer than 255 characters @@ -605,7 +605,7 @@ Number of saved files (default is 5) - ^[0-9]+ + [0-9]+ illegal characters in number of files @@ -614,7 +614,7 @@ Size of log files (in kbytes, default is 256) - ^[0-9]+ + [0-9]+ illegal characters in size -- cgit v1.2.3