qaz@lemmy.world to memes@lemmy.worldEnglish · edit-21 month agoPermanently Deletedlemmy.worldimagemessage-square161fedilinkarrow-up1393arrow-down110file-text
arrow-up1383arrow-down1imagePermanently Deletedlemmy.worldqaz@lemmy.world to memes@lemmy.worldEnglish · edit-21 month agomessage-square161fedilinkfile-text
minus-squareqaz@lemmy.worldOPlinkfedilinkEnglisharrow-up3·1 month agoI 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
minus-squareRaivoKulli@sopuli.xyzlinkfedilinkarrow-up6·1 month ago fagtard That can’t be common enough to be included lmao. Also censoring “bitching” is kind hard, now I can’t tell everyone about my bitching ride
I think a regex to filter out common slurs isn’t really the same
The regex:
Link to code
That can’t be common enough to be included lmao. Also censoring “bitching” is kind hard, now I can’t tell everyone about my bitching ride