Distinguish regex resource exhaustion from a failure to match

Merged
JV
1d ago
+4282-2020

Signed-off-by: Juan Cruz Viotti jv@jviotti.com