Matching Rules
Matching Rules let you define flexible search patterns for identifying text in IguanaX. IguanaX supports glob expression (*), sequence matching, SQL-like boolean operators, and regular expressions, so you can build rules ranging from basic keyword searches to more precise conditional matches.
By default, space-separated terms are treated as an ordered sequence. For example, #dev #test matches text where #dev appears before #test. You can combine terms with boolean operators such as AND, OR, and NOT to create more expressive rules.
Boolean operator precedence is as follows (highest to lowest):
-
NOT (unary, right associative)
-
AND (binary, left-associative)
-
OR (binary, left-associative)
To use regex, simply enclose the expression in slash characters /<regex>/.
IguanaX does not support the V6 bang regex syntax !<regex> use /<regex>/ instead
The table below provides an overview of example pattern matching techniques you can use and combine to create a matching rule. Combination examples are provided.
Type | Sample | Description |
|---|
Type | Sample | Description |
|---|---|---|
Wildcard |
| Apply to all components. |
| Apply to components with | |
Sequence Matching |
| Apply to components containing |
OR |
| Apply to components with either |
AND |
| Apply to components with both |
NOT |
| Apply to components without the |
Combination |
| Apply to components containing the sequence |
Combination |
| Apply to components containing the sequence |
Combination |
| Apply to components containing |