this post was submitted on 12 Jun 2024
920 points (98.5% liked)

Greentext

4390 readers
1178 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 5 months ago (1 children)
slur_filter_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?)",
[–] [email protected] 5 points 5 months ago (1 children)

Man, regex is really not the tool for the job here is it?

[–] [email protected] 3 points 5 months ago (1 children)

What? it looks fine to me, outside of the general difficulty of reading regex. I mean, it's not meant to be readable, it's meant to catch all the different spellings if what they want to filter and do so.

[–] [email protected] 2 points 5 months ago (1 children)

outside of the general difficulty of reading regex

That's sorta my point, the complexity of regex isn't really warranted where a simple blocklist would suffice

[–] [email protected] 1 points 5 months ago