Open offby1 opened 8 years ago
Not quite.
/fool
, not /ignore
as well?/fool 123
and there is someone with a ~user@foobar123.host.org
usermask, they will get filtered as well. This occurred to me a few times and needed to be solved with anchoring. See #28 for more thoughts on the topic.Thank you for the contribution! :-) wasamasa has some good questions there, though. I suspect a good solution would be to check if there's an exclamation mark in the string. If not, regexp-quote and add !.*@.*
– though it's not clear to me if it should do submatches, word matches, or only full matches …
I hope the intent is obvious.