🍹Early to RISA 🧉@sh.itjust.worksM to Greentext@sh.itjust.works · 6 months agoAnon interviews for a jobsh.itjust.worksimagemessage-square133fedilinkarrow-up1923arrow-down114
arrow-up1909arrow-down1imageAnon interviews for a jobsh.itjust.works🍹Early to RISA 🧉@sh.itjust.worksM to Greentext@sh.itjust.works · 6 months agomessage-square133fedilink
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-squarezalgotext@sh.itjust.workslinkfedilinkarrow-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-squarezalgotext@sh.itjust.workslinkfedilinkarrow-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?