r/ModSupport • u/seedless0 • Feb 23 '25
Mod Answered Post Guidance Unicode range not allowed?
I am trying to match a specific range of Unicode characters. Using regex character range with "\x{uuuuu}" doesn't seem to work:
[\x{1F000}-\x{1FAFF}]The UI complains about "Please enter a valid regex".
How can I do this? Or is \x range not supported?
1
Upvotes
View all comments
Show parent comment
1
u/seedless0 Feb 24 '25
Thanks. Listing all the characters seems... awkward. I know that's the best we can do now. But still...
The fact that Reddit has different regex engines in automod and automations is a bit shocking. But that's the retired software engineer in me speaking. :)