TCS0219E: Error during regular expression compilation; error(...), expression (...).
An error has occurred during the compile of a regular function.

Check the expression definition. Use the special test dialog.