Skip to content

Regex with "|" doesn't work #1830

@nishantwrp

Description

@nishantwrp

Doing fuzztest::InRegexp(R"(a)|(b)") gives the error

Failed precondition (re != nullptr): Invalid RE2 regular expression.

Is that by design because I am able to do OneOf(InRegexp(R"(a)"), InRegexp(R"(b)")) without any errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions