Skip to content

Conversation

bhamiltoncx
Copy link
Contributor

To finish the Unicode grapheme cluster parser, we need a few more \p properties:

\p{EmojiPresentation=EmojiDefault}
\p{EmojiPresentation=TextDefault}
\p{EmojiPresentation=Text}

This data comes from ICU, but it uses an extended set syntax which ANTLR's \p escape doesn't currently support, so I'm including it as a specific escape.

I updated the docs and tests.

@bhamiltoncx bhamiltoncx mentioned this pull request Mar 14, 2017
@parrt parrt added the unicode label Mar 14, 2017
@parrt parrt added this to the 4.7 milestone Mar 14, 2017
@parrt parrt merged commit 1705498 into antlr:master Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants