🍹Early to RISA 🧉M to [email protected] • 1 year agoAnon interviews for a jobsh.itjust.worksimagemessage-square136arrow-up1939
arrow-up1925imageAnon interviews for a jobsh.itjust.works🍹Early to RISA 🧉M to [email protected] • 1 year agomessage-square136
minus-square@[email protected]linkfedilink5•1 year 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-square@[email protected]linkfedilink5•1 year agoMan, regex is really not the tool for the job here is it?
minus-square@djsoren19linkfedilink3•1 year 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-square@[email protected]linkfedilink2•1 year 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?