TPerlRegEx.Compile() - Error in regex at offset 2: nothing to repeat

You get the error TPerlRegEx.Compile() - Error in regex at offset 2: nothing to repeat when processing files.

You get this error when a regular expression is causing issues

Locate the faulty regex in the profile and either fix or delete it.