Text Matching
Precision is key to effective monitoring. Redd allows you to fine-tune how text-based conditions (Title, Body, Full Content) evaluate matches using two powerful toggles: Case Sensitive and Whole Word.
Case Sensitive
By default, Redd text matching is case-insensitive. This means "Apple" will match "apple", "APPLE", and "aPpLe".
- When to enable: Enable this if you are tracking a specific brand or acronym where case matters (e.g., tracking the programming language "Go" vs the common verb "go").
- Visual Builder: Click the "Case" icon on the condition row.
- JSON Editor: Set
"CaseSensitive": true.
Whole Word
Whole word matching ensures that your keyword is matched only when it appears as a distinct word, rather than as part of a larger word. Redd uses standard word boundaries (\b) for this evaluation.
Examples
| Keyword | Content | Whole Word OFF | Whole Word ON |
|---|---|---|---|
cat | "The black cat sat." | Match | Match |
cat | "The bobcat ran." | Match | No Match |
cat | "Category theory." | Match | No Match |
- When to enable: Enable this for short keywords that are frequently found inside other words (e.g., "rust", "cat", "ace").
- Visual Builder: Click the "Word" icon on the condition row.
- JSON Editor: Set
"WholeWord": true.
Combining Toggles
You can enable both toggles on a single condition. For example, a monitor for the word AID (the noun) might use both Case Sensitive and Whole Word to avoid matching "aid" (the verb) or "raid".
Toggling these settings does not impact the speed of your monitor. Redd's engine is optimized to handle these variations at scale.