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

/nojit: /dfa: engine-specific options #5

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

/nojit: /dfa: engine-specific options #5

rurban opened this issue Apr 6, 2017 · 1 comment

Comments

@rurban
Copy link
Owner

rurban commented Apr 6, 2017

support engine-specific options in cperl, like /nojit: /dfa:
and handle it there.

new rx options:

  • //no_jit:
  • //dfa:

PCRE has some specific pcre2syntax (*NO_JIT) option, which is not supported upstream though.
(*LIMIT_MATCH=d), (*LIMIT_DEPTH=d), ...
See http:https://www.pcre.org/current/doc/html/pcre2syntax.html#SEC16

@todd-richmond
Copy link

supporting dfa would be a help for issues where perlre regexes can take infinitely long (URI::Find::Schemeless for example). An example simple config mechanism to enable options is the one re::engine::RE2 uses

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

2 participants