Issue is coming while parsing the following regular expression
"^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$"
*Tried other options like *
"^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\\\"\\!]{9,430}$"
'^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$'
*Issues coming *
stderr: |-
while scanning a double-quoted scalar
in "<string>", line 373, column 56:
... ex: '^[a-zA-Z0-9-+.#$%&~*/=?^_ '"\!]{9,430}$'
^
found unknown escape character '!'
in "<string>", line 373, column 58:
... : '^[a-zA-Z0-9-+.#$%&~*/=?^_ '"\!]{9,430}$'
^
----------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
The offending line appears to be:
context_regex: '''^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$'''
^ here
-----------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
found character '`' that cannot start any token
The offending line appears to be:
context_regex: ```^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$```
^ here
-------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
found character '`' that cannot start any token
context_regex: `^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$`
^ here
-------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
context_regex: '^[a-zA-Z0-9-+.#$%&~*\/=?^_ \'\\\!]{8,240}$'
^ here
-------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
context_regex: '^[a-zA-Z0-9-+.#$%&~*\/=?^_ \'\\!]{9,430}$'
^ here
------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
context_regex: '^[a-zA-Z0-9-+.#$%&~*\/=?^_ \'\\\"\\!]{9,430}$'
^ here
------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
context_regex: '^[a-zA-Z0-9-+.#$%&~*\/=?^_ \'\\"\\!]{8,240}$'
^ here
-----------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
expected <block end>, but found '<scalar>'
context_regex: '^[a-zA-Z0-9-+.#$%&~*\/=?^_ \'\"\\!]{9,430}$'
^ here
-----------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
found unknown escape character '^'
context_regex: "\\\^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\"\\!]{9,430}$\\\"
^ here
-----------------------------------------------------------------------------------------------------------------------------
ERROR! Syntax Error while loading YAML.
found unknown escape character '!'
context_regex: "^[a-zA-Z0-9-+.#$%&~*\/=?^_ '\\\!]{9,430}$"
^ here
------------------------------------------------------------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1d6cf93c-55dc-4e86-b824-6aae4d33883a%40googlegroups.com.