Skip to content

libc++ regex invalid back reference #55357

Open
@jeremy-rifkin

Description

@jeremy-rifkin

(x*)\s+(?!\1).+ should be a valid regex for std::regex but this causes a runtime error in libc++: https://godbolt.org/z/vPqWaEhGc

Not sure if this is an already known issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.regexIssues related to regex

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions