4 ms·
I once tried to create a list of basic patterns...always thought it'd be more useful than it turned out to be: https://github.com/mogade/badwords/blob/master/e
by latch 15y ago
I once tried to create a list of basic patterns...always thought it'd be more useful than it turned out to be:
https://github.com/mogade/badwords/blob/master/en.txt https://github.com/mogade/badwords/blob/master/en.txt
- Terretta 15y ago5hit, that's a fuhked up list.
- vbar 15y agoIt's repetitive - when you're checking e.g. for (ph|f)u(c|k|ck|q), there's no need to check cyb[e3]r(ph|f)u(c|k|ck|q) as well...
- peteretep 15y agoCPAN, as always, to the rescue: http://search.cpan.org/~abigail/Regexp-Common-2011041701/lib/Regexp/Common/profanity.pm http://search.cpan.org/~abigail/Regexp-Common-2011041701/lib...
- pavel_lishin 15y ago> fixed some broken patterns, added check for dick My stepfather would be most displeased if he couldn't use his name.