8956 A Regex operation took too long and timed out
Cause
This error occurs when a Regex operation took longer than the timeout period specified by the JadeRegexPattern class setTimoutValue method. As the timeout value defaults to zero (0), this error occurs only if you specify a timeout (defined in milliseconds).
Action
If this error occurs, you can:
-
Make the Regex pattern more efficient.
-
Give the Regex operation a smaller subject string.
-
If you are letting users define Regex patterns, check that they are not defining malicious patterns, in which case doing nothing would be the best thing, as this prevents your process being hung by malicious patterns.
-
Increase the timeout value or remove it.