Skip to content

Commit

Permalink
findspam.py: add one variation in is_offensive_post
Browse files Browse the repository at this point in the history
  • Loading branch information
tripleee committed Nov 30, 2020
1 parent 13fccbd commit 69efb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Expand Up @@ -1213,7 +1213,7 @@ def is_offensive_post(s, site):
r"pedo(?!bapt|dont|log|mete?r|troph)|fascis[tm]s?|cocksuck(e?[rd])?|"
r"whore|cunt|jerk(ing)?\W?off|cumm(y|ie)|butthurt|queef|lesbo|"
r"bitche?|(eat|suck|throbbing|sw[oe]ll(en|ing)?)\b.{0,20}\b(cock|dick)|dee[sz]e? nut[sz]|"
r"dumb\W?ass|wet\W?puss(y|ie)?|slut+y?|shot\W?my\W?(hot\W?)?load)s?)+)\b")
r"dumb\W?ass|wet\W?puss(y|ie)?|s[1l]ut+y?|shot\W?my\W?(hot\W?)?load)s?)+)\b")

matches = list(offensive.finditer(s))
len_of_match = 0
Expand Down

0 comments on commit 69efb9f

Please sign in to comment.