Pattern operators have the following calculation priorities:
Priority | Operator type | Operator |
---|---|---|
1 | Monadic operator | EVERY NOT EVERY-DISTINCT |
2 | Guard | WHERE TIMER:WITHIN WHERE TIMER:WITHINMAX WHILE (expression) |
3 | Repetitive | [COUNT] UNTIL |
4 | Logical conjunction | AND |
5 | Logical disjunction | OR |
6 | followed-by | -> |
By using parentheses, "(" and ")", to enclose the subexpressions that comprise a pattern expression, calculation of the enclosed parts can be given priority.