Closed lakshmi-kannan closed 7 years ago
The colon is being interpreted by YAML safe load as part of the YAML text. If you put a double quote around the YAQL expression, YAML will load this correctly. The correction is posted below.
- found: "<% 'FAIL: something' in $.echo_output %>"
- notfound: "<% not 'FAIL: something' in $.echo_output %>"
If this problem persists for you, please reopen this issue.
For example, this snippet:
complains
mapping values are not allowed here
.Escaping the
:
does not work as in both these variables evaluate to True.when
Regex works according to john.welborn on slack