User Tools

Site Tools


reference:spamrules_statement_escape

Spam Filter Rules: Escape

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>

Example

${myvar} = "This costs $10.00"

Escape myvar

# ${myvar} is now "This costs \$10\.00"
reference/spamrules_statement_escape.txt · Last modified: 2018/11/14 10:45 (external edit)