Skip to content

Commit 367bc26

Browse files
authored
Chat-Notifications: add highlight regex
1 parent e1f56ea commit 367bc26

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Chat-Notifications.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ Highlights any instance of your username in chat
1313

1414
Highlights a custom set of words. Entries in this field should be separated by commas. (`, `)
1515

16+
### Highlight regex
17+
18+
List of expressions to be highlighted using regex matching, separated by new lines. Matching is case-insensitive; enter the expression directly, without `/.../` delimiters or flags.
19+
20+
#### Example:
21+
* **Highlight regex:** `(?:faded away|crumbles to dust)`
22+
* **Message received:** `Your dodgy necklace crumbles to dust.`
23+
- `crumbles to dust` is highlighted
24+
25+
##### To learn more about regex matching rules see a [regex testing website.](https://regexr.com/)
26+
1627
### Notify on own name
1728

1829
Notifies you whenever your name is mentioned

0 commit comments

Comments
 (0)