Skip to content

Partial matching #12

Open
Open
@pkolaczk

Description

@pkolaczk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions