Spamfilter to ignore whitespaces
Posted: Wed Aug 26, 2020 4:18 pm
To block URLs like: we are using /spamfilter regex:
It worked fine until user started writing URLs like:
So would need to modify regex to:
Since having 100 different URLs similar to this one, I'm worried this would slow down IRC.
Ideally there would be some option in spamfilter to eat all whitespaces before matching the regexp?
Code: Select all
https://imgbbb.com/image/ABC123
Code: Select all
imgbbb\.com
Code: Select all
https :// im gbbb.com/image/ABC123
Code: Select all
i\s*m\s*g\s*b\s*b\s*b[\s.]*c\s*o\s*m
Ideally there would be some option in spamfilter to eat all whitespaces before matching the regexp?