Skip to content

Compilation error when parsing "[\\w-]+" #346

@Orvid

Description

@Orvid

A relatively common way to write a set that include a - character is to stick it at the end of the set, where it doesn't get parsed as a range, but instead as a literal -. CTRE currently fails to parse this. It does parse and work correctly if the - is manually escaped: "[\\w\\-]+"

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