🍹Early to RISA 🧉M to Greentext · 5 months agoAnon interviews for a jobimagemessage-square135fedilinkarrow-up1937arrow-down114
arrow-up1923arrow-down1imageAnon interviews for a job🍹Early to RISA 🧉M to Greentext · 5 months agomessage-square135fedilink
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up5·5 months agoslur_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?)",
minus-squarezalgotextlinkfedilinkarrow-up5·5 months agoMan, regex is really not the tool for the job here is it?
minus-squaredjsoren19@yiffit.netlinkfedilinkarrow-up3·5 months agoWhat? 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.
minus-squarezalgotextlinkfedilinkarrow-up2·5 months ago 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
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?)",
Man, regex is really not the tool for the job here is it?
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.
That’s sorta my point, the complexity of regex isn’t really warranted where a simple blocklist would suffice
bbrertardeds?