Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fallback to core re_compile #11

Closed
rurban opened this issue Apr 6, 2017 · 1 comment
Closed

fallback to core re_compile #11

rurban opened this issue Apr 6, 2017 · 1 comment

Comments

@rurban
Copy link
Owner

rurban commented Apr 6, 2017

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.

@rurban
Copy link
Owner Author

rurban commented Apr 7, 2017

Done with 98171b7

@rurban rurban closed this as completed Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant