User Tools

Site Tools


reference:spamrules_statement_ifmatch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
reference:spamrules_statement_ifmatch [2011/08/22 14:38] simonreference:spamrules_statement_ifmatch [2011/08/24 15:21] simon
Line 6: Line 6:
 **IfMatch** statements require a data parameter and a search value, in the format **IfMatch** statements require a data parameter and a search value, in the format
   IfMatch <data> <search>   IfMatch <data> <search>
 +
 +The **IfMatch** statement must be terminated with an **EndIf** and may contain an **Else** statement, just like the [[spamrules_statement_if|If]] statement.
  
 =====Data===== =====Data=====
Line 53: Line 55:
 ^D  |The dollar character matches only at the end of the search string. Without this, it can also match immediately before the final character if it is a newline character. | ^D  |The dollar character matches only at the end of the search string. Without this, it can also match immediately before the final character if it is a newline character. |
 ^U  |The search will be “ungreedy” instead of the default mode of greedy. | ^U  |The search will be “ungreedy” instead of the default mode of greedy. |
- 
-The **IfMatch** statement must be terminated with an **EndIf** and may contain an **Else** statement, just like the [[spamrules_statement_if|If]] statement. 
  
  
reference/spamrules_statement_ifmatch.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1