diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-26 19:30:46 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-26 19:30:48 +0100 |
commit | e71592e0f8e6139ce6aebac005c1426c87bd1149 (patch) | |
tree | 9f437c7ca0f745371f8937cf0ce233fd23ef368a /interface-definitions/ssh.xml.in | |
parent | 8532f668f70c3c0c3f3a6dc5d6cddcd73b7023e1 (diff) | |
download | vyos-1x-e71592e0f8e6139ce6aebac005c1426c87bd1149.tar.gz vyos-1x-e71592e0f8e6139ce6aebac005c1426c87bd1149.zip |
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>/'
Diffstat (limited to 'interface-definitions/ssh.xml.in')
-rw-r--r-- | interface-definitions/ssh.xml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/ssh.xml.in b/interface-definitions/ssh.xml.in index 8dea94d05..ea4202195 100644 --- a/interface-definitions/ssh.xml.in +++ b/interface-definitions/ssh.xml.in @@ -25,7 +25,7 @@ <properties> <help>Allow members of a group to login</help> <constraint> - <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> + <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> </constraint> <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> <multi/> @@ -35,7 +35,7 @@ <properties> <help>Allow specific users to login</help> <constraint> - <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> + <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> </constraint> <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> <multi/> @@ -52,7 +52,7 @@ <properties> <help>Disallow members of a group to login</help> <constraint> - <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> + <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> </constraint> <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> <multi/> @@ -62,7 +62,7 @@ <properties> <help>Disallow specific users to login</help> <constraint> - <regex>^[a-z_][a-z0-9_-]{1,31}[$]?</regex> + <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> </constraint> <constraintErrorMessage>illegal characters or more than 32 characters</constraintErrorMessage> <multi/> |