Receiving "Error executing regular expression" with no other info

Posted by Victorious on Sun 26 Mar 2023 06:44 AM — 2 posts, 6,122 views.

#0
I periodically get a popup dialog that just shows "Error executing regular expression: Error executing regular expression: Error execu" with an ok button.

However, there is no other info being shown about where the error is coming from anywhere. I've looked at my plugins and can't figure out where the error could be coming from as well.

Is there any way to get more helpful information about where this is coming from?
#1
Figured this out. The error text referring to a regular expression was throwing me off track.

This was caused by using the AddTriggerEx script function to add a non regex trigger with the following match text: "***The next stage of your quest awaits:". When doing this manually through the gui, there is a nice explanation of why this isn't a good idea, but no such errors are thrown when adding triggers with this via the function.

Changing this to a regex trigger to escape the * characters fixed it.