Skip to content

Added Unicode category support

Jeff Avallone requested to merge cmkilger:master into master

Created by: cmkilger

I added support for Unicode categories, as listed on this site, e.g. \p{P} for punctuation or \p{Cherokee} for Cherokee characters. I'm not sure how you would actually want to do this, so I just went for it. It doesn't verify to make sure that the value used and just assumes it is available. And it uses some heuristics to try and format it properly.

If you'd rather, all possible values could be added to the grammar, and then there could be a big map to the descriptions of each one.

Merge request reports