Permanently Deleted (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by to c/memes@lemmy.world
 

Permanently Deleted

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 3 points 8 months ago (1 child)

I think a regex to filter out common slurs isn't really the same

The regex:

(fag(g|got|tard)?\b|cock\s?sucker(s|ing)?|ni((g{2,}|q)+|[gq]{2,})[e3r]+(s|z)?|mudslime?s?|kikes?|\bspi(c|k)s?\b|\bchinks?|gooks?|bitch(es|ing|y)?|whor(es?|ing)|\btr(a|@)nn?(y|ies?)|\b(b|re|r)tard(ed)?s?)

Link to code

  • source
  • parent
  • hideshow 1 child comment