This page was last edited on December 17, 2013, at 18:54.
Comments or questions about this documentation? Contact us for support!
Operators are of two types:
&& is the binary operator "and". For example,
matches a message only if it includes both "interest rate" and "APR."
|| is the binary operator "or." For example,
matches any message that includes either "station wagon" or "convertible" (or "Station Wagon" or "station Wagon" or "Convertible").
! is the unary operator "not." For example,
matches any message that does not include the word "windows."
You can combine ! with a binary operator. For example,
matches any message that includes "bird"
but does not include "goose."
p && q || r is parsed as (p && q) || r. For example, consider:
To paraphrase, this screening rule is basically “find X or find Y,” where X is "debt" and "income," and Y is "profit."
It matches both "debt exceeds income" and "profits are fantastic".
You can modify the default precedence by the explicit use of parentheses; for example:
This screening rule is basically “find X and find Y,” where X is "debt" and Y is either "income" or "profit."
It matches both "debt exceeds income" and "debts impact profit."