fallback to core re_compile
rurban opened this issue · comments
Reini Urban commented
when PCRE2_comp/op_comp failed store the error, and fallback to the core engine compile method.
only of that failed, display the pcre2 error.
this way we can also fallback from unsupported jit patterns.
same could be used for fast dfa passes, eg. with the RE2 engine or hyperscan.
Reini Urban commented
Done with 98171b7