Better error reporting on regexp compile failure.