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

More Unicode related rules #10

Open
fge opened this issue May 20, 2014 · 0 comments
Open

More Unicode related rules #10

fge opened this issue May 20, 2014 · 0 comments

Comments

@fge
Copy link
Owner

fge commented May 20, 2014

Grappa has unicodeChar() and unicodeRange().

I thought about adding inUnicodeBlock() as well; this would allow a matcher to tell whether the next code point (not char) is in this or that Unicode block.

The syntax would be:

inUnicodeBlock(Character.UnicodeBlock.ANCIENT_SYMBOLS)

See Character.UnicodeBlock. Note however that it will, by nature, depend on the JDK version; more recent JDK versions know more Unicode blocks.

Comments?

@fge fge added question and removed question labels May 20, 2014
@fge fge changed the title More Unicode related rules? More Unicode related rules May 20, 2014
@fge fge added this to the 1.1.0 milestone May 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant