Open ktnjared opened 5 months ago
While the most recent version doesn't add regex support, it does improve content parsing so a muted word like "test" will apply to "Test", "Test's", "'Test'", etc. which should hopefully help in the meantime!
While the most recent version doesn't add regex support, it does improve content parsing so a muted word like "test" will apply to "Test", "Test's", "'Test'", etc. which should hopefully help in the meantime!
The apostrophe s doesn't seem to work for me.
Related to this issue, wildcards e.g. "test*" would be useful.
To help fine-tune filtering and reduce clutter by accomidating for things like plurals, leetspeak, shorthand, and other variations.
Example
string:
(?i)\bm(icro)?(\$(.*\b)?|soft[[:alnum:]]{1,}|shaft.*\b|sludge\b)
(Regex101 sample)It would allow:
MS
Microsoft
microsoft
Microsoft's
While filtering the following patterns
Microsofties
Microshafted
Microsludge
M$
Micro$oft
Micro$ofties
Micro$hafted
Micro$ludge
M$ Office
m$
micro$oft
micro$ofties
micro$hafted
micro$ludge
m$office
Futher regex string examples can be found at https://urre.github.io/mutebot/.