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

Partial matching #12

Open
pkolaczk opened this issue May 9, 2020 · 1 comment
Open

Partial matching #12

pkolaczk opened this issue May 9, 2020 · 1 comment

Comments

@pkolaczk
Copy link

pkolaczk commented May 9, 2020

One cool feature of PCRE2 not available in Rust Regex is partial matching.

Can we have a way to set the following options:
PCRE2_PARTIAL_HARD
PCRE2_PARTIAL_SOFT
and interpret the PCRE2_ERROR_PARTIAL return code as success?

I'd provide it as a separate method on Regex e.g is_partial_match.

@pkolaczk
Copy link
Author

pkolaczk commented May 9, 2020

#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant