${escape()}
Returns the specified
EXPRESSION as-is, without checking for or evaluating nested phrases. This feature is useful for manipulating file types and syntaxes that also use '${}' delimiters for dynamic content (
e.g. pom.xml, build.xml, *.jsp).
| Name | XPath | Description | Reagent Type | Expected Type | Required |
|---|---|---|---|---|---|
| EXPRESSION | descendant-or-self::text() | An expression that may contain phrase delimiters ('${' and '}') that should not be evaluated for nested phrases. | STRING | java.lang.String | Yes |
Echos text that would fail to parse without ${escape}:
${escape(This is ${some(text)} that ${includes} delimiters...)}