Skip to content

Grapheme cluser (\X) selector capturing multiple characterΒ #410

Closed
@Ayesh

Description

@Ayesh

Using PCRE2 10.43, the \X selector seems to capture more than one graphemes, as if does not break before the start of a new grapheme cluster.

Regex: \X
Input: πŸ³οΈβ€πŸŒˆπŸ΄β€β˜ οΈ (U+1F3F3 U+FE0F U+200D U+1F308 + U+1F3F4 U+200D U+2620 U+FE0F)

When run, \X matches both flag graphemes: Regex101 preview.

Could you kindly shed me a light if I'm missing something?

Thank you.

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