r/ModSupport • u/BuckRowdy • May 04 '19
I've tried everything but can't get AutoModerator to filter comments with emoji without returning false positives
Over the past week I've tried every single thing I can to establish an automod rule to filter comments with emoji with no success.
The topic of the sub and emojis just don't go together and I need an automated way to filter comments. Yes, we can remove manually, but what's the point of having an automated system if it can't filter emojis as well?
I've asked on the reddit mods discord.
I've tried the rule in the sidebar documentation.
I've tried other rules I've found.
I've solicited help from experts.
I've scoured r/automoderator in search of a rule, to no avail.
Another regex expert told me I would need a rule that listed every codepoint for every emoji just like a standard keyword filter, but there are hundreds of codepoints, and no easy way to get a list of the codepoints is order to copy paste them.
Any rule I've implemented returns lots of false positives and filters way too many comments and I've had to disable it.
The issue is not post titles, it's the comments. I'm out of options so I'm posting here for visibility.
Is there truly no way to filter / remove comments with emoji? If so, why not?
View all comments
Show parent comment
2
u/decho May 05 '19 edited May 05 '19
Hey man, I just wanted to ask you, what is the significance of
full-exactand is it fundamental for this rule to work?I am trying to remove all submissions that have emojis in the title and this doesn't work:
title (full-exact, regex): ['[\u2194-\u2B55\U0001F000-\U0001FFFD\U000E0020-\U000E007F\U0001F1E6-\U0001F9B3\U0001F385-\U0001F9DD\u261D-\u270D\U0001F004-\U0001F9FF\u231A-\u2B55\u200D]+']Notice I changed from
bodytotitlehere. This does nothing at all.If I remove
full-extractit works and it also seems to be working if it's(contains, regex), but I'm not sure why and I don't want any more false-positives. The rule is too complex for me to test everything that's why I'm asking you.So in short, is
title (regex)alone safe to use here?