Statement | Escape |
---|---|
Version | 2.3.6+ |
Purpose | 'Escapes' the specified variable ready to pass as a regular expression |
The Escape statement should be called immediately before the variable, in the format
Escape <variable name>
${myvar} = "This costs $10.00"
Escape myvar
# ${myvar} is now "This costs \$10\.00"