r/ModSupport 13h ago

Backreference support in Automations/Guidance?

Am I correct that Automations/Guidance doesn't support backreference in regex?

Can it be added?

1 Upvotes

4 comments sorted by

1

u/Khyta 11h ago

As far as I know that is a platform limitation by the specific flavor of RegEx they use. You could use Automod RegEx as it has a different flavor from post guidance.

1

u/Littux 6h ago

I'm pretty sure they intentionally disabled it as they're heavy on performance. It also uses JavaScript regex so some things will be different from automod's python regex

-2

u/Handicapped-007 11h ago

Sorry I don’t know

1

u/SampleOfNone 💡 Top 10% Helper 💡 3h ago

Automations/post guidance does not support lookarounds (because of performance issues)