The SQL way
https://lemmyverse.link/lemmy.ca/post/40761824, thank you to @shadow@lemmy.ca! Note this does not work with regex patterns.
The slur filter way
(.*(\n)*Hi.*[nN]icole.*[fF]ediverse [cC]hick(.|\n)*)
Is what we are using on dbzer0 right now. It previews all of nicole’s messages as just “removed”.
Why such hacky fixes? Well truth is, due to lemmy’s subpar filtering we really can’t do much about this currently. At most these just repel from the potential harm of nicole’s messages.
@db0@lemmy.dbzer0.com has opened these two issues:
Not possible for lemmy, and it would be hacky to implement for us (db0 doesn’t really like the SQL version) so we’re sticking to the slur filter for now unfortunately. I’ve adapted it, and it’s very extreme; but should work for all types of cases for nicole.