relax slur filter #322
Merged
DashEightMate
merged 0 commits from layla/lemmy-hexbear:feature/relax-slurfilter
into main
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'layla/lemmy-hexbear:feature/relax-slurfilter'
Deleting a branch is permanent. It CANNOT be undone. Continue?
this will allow for example "refutation" and "nagging"
These changes look alright. I wonder if we could separate the character substitutions you removed into a separate token and put a
{1,}
at the end of((a|er)?(s|z)?)
. Therefore things likenagg
won't match unless it ends with something.I wouldn't mind adding this although I don't know what my perms are regarding pushing to open prs. Let me know what you think about the changes.
Not entirely sure what you mean with those changes. If you can't push to this PR you could just include the
SLUR_REGEX
you're suggesting in a comment and I'll take a look. As long as it allows the words users have wanted then it's probably fine with me.caa2884cd5
.