summaryrefslogtreecommitdiff
path: root/interface-definitions/service-pppoe.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-26 19:30:46 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-26 19:30:48 +0100
commite71592e0f8e6139ce6aebac005c1426c87bd1149 (patch)
tree9f437c7ca0f745371f8937cf0ce233fd23ef368a /interface-definitions/service-pppoe.xml.in
parent8532f668f70c3c0c3f3a6dc5d6cddcd73b7023e1 (diff)
downloadvyos-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/service-pppoe.xml.in')
-rw-r--r--interface-definitions/service-pppoe.xml.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/interface-definitions/service-pppoe.xml.in b/interface-definitions/service-pppoe.xml.in
index 4951f656b..20c206d21 100644
--- a/interface-definitions/service-pppoe.xml.in
+++ b/interface-definitions/service-pppoe.xml.in
@@ -25,7 +25,7 @@
<properties>
<help>Access concentrator name</help>
<constraint>
- <regex>^[a-zA-Z0-9]{1,100}</regex>
+ <regex>[a-zA-Z0-9]{1,100}</regex>
</constraint>
<constraintErrorMessage>access-concentrator name limited to alphanumerical characters only (max. 100)</constraintErrorMessage>
</properties>
@@ -119,7 +119,7 @@
<description>Use a RADIUS server to autenticate users</description>
</valueHelp>
<constraint>
- <regex>^(local|radius)</regex>
+ <regex>(local|radius)</regex>
</constraint>
<completionHelp>
<list>local radius</list>
@@ -412,7 +412,7 @@
<properties>
<help>Acceptable rate of connections (e.g. 1/min, 60/sec)</help>
<constraint>
- <regex>^[0-9]+\/(min|sec)$</regex>
+ <regex>[0-9]+\/(min|sec)$</regex>
</constraint>
<constraintErrorMessage>illegal value</constraintErrorMessage>
</properties>
@@ -433,7 +433,7 @@
<properties>
<help>Service name</help>
<constraint>
- <regex>^[a-zA-Z0-9\-]{1,100}</regex>
+ <regex>[a-zA-Z0-9\-]{1,100}</regex>
</constraint>
<constraintErrorMessage>servicename can contain aplhanumerical characters and dashes only (max. 100)</constraintErrorMessage>
</properties>
@@ -541,7 +541,7 @@
<properties>
<help>IPv4 (IPCP) negotiation algorithm</help>
<constraint>
- <regex>^(deny|allow|prefer|require)</regex>
+ <regex>(deny|allow|prefer|require)</regex>
</constraint>
<constraintErrorMessage>invalid value</constraintErrorMessage>
<valueHelp>
@@ -566,7 +566,7 @@
<properties>
<help>IPv6 (IPCP6) negotiation algorithm</help>
<constraint>
- <regex>^(deny|allow|prefer|require)</regex>
+ <regex>(deny|allow|prefer|require)</regex>
</constraint>
<constraintErrorMessage>invalid value</constraintErrorMessage>
<valueHelp>