Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also support Unicode enumerated properties via \p{Foo=Bar} syntax #1739

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

bhamiltoncx
Copy link
Contributor

When I went to implement Unicode TR29 grapheme cluster parsing, I found I forgot to include enumerated Unicode properties in the code-generated UnicodeData.java.

Since enumerated properties have multiple values (as opposed to the binary properties we supported previously), I used the semi-standard syntax:

\p{PropertyName=PropertyValue}

All the existing tests pass and I added a few more for the new syntax.

@parrt parrt added this to the 4.7 milestone Mar 8, 2017
@parrt
Copy link
Member

parrt commented Mar 8, 2017

sounds good. Thanks!!

@parrt parrt merged commit e8657fa into antlr:master Mar 8, 2017
@bhamiltoncx bhamiltoncx deleted the unicode-enum-property branch March 8, 2017 19:58
@bhamiltoncx
Copy link
Contributor Author

Thanks for the über-quick merge!

@parrt
Copy link
Member

parrt commented Mar 8, 2017

You have the hard part. all i do is click! I'm hoping we can finish off 4.7 and ship it soon. anything you can think of to do on your end?

@bhamiltoncx
Copy link
Contributor Author

Well, the devil is in the details. Once I finish the TR29 grapheme cluster parser and test perf, I'm sure I'll have at least one fix.

@parrt
Copy link
Member

parrt commented Mar 8, 2017

cool. ok, it'll probably be a few weeks on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants