Skip to content

UnicodeMatchPropertyValue assertion fails by UnicodePropertyValueExpression #3586

Open
@Jack-Works

Description

@Jack-Works

For the RegExp: /[\p{Hex}]/u:

CompileToCharSet
For production UnicodePropertyValueExpression :: LoneUnicodePropertyNameOrValue, s is Hex, in step 2, it calls UnicodeMatchPropertyValue(General_Category, s)

UnicodeMatchPropertyValue
2. Assert: v (in this case, Hex) is a property value or property value alias for the Unicode property p (in this case, General_Category) listed in PropertyValueAliases.txt.

In PropertyValueAliases.txt, no entry starts with gc ; Hex, so this assert should fail.

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