Skip to content

Conversation

bhamiltoncx
Copy link
Contributor

@bhamiltoncx bhamiltoncx commented Feb 24, 2017

This is split off from the WIP PR #1688.

This extends the UnicodeData code-generated class to support Unicode blocks in addition to general categories, scripts, binary properties.

I added tests to cover the new functionality.

Since Unicode block names overlap with script names, I prefix the block name with In: \p{InBlockName}.

I also made it so - and _ are treated the same.

@parrt parrt added the unicode label Mar 1, 2017
@parrt parrt added this to the 4.7 milestone Mar 1, 2017
@parrt parrt merged commit 4d8e865 into antlr:master Mar 1, 2017
@bhamiltoncx bhamiltoncx deleted the unicode-blocks branch March 8, 2017 19:57
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.

3 participants