forked from pest-parser/pest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Unicode Script into built-in rules. (pest-parser#751)
* Add CJK unicode into built-in rules. Make this change to add `CJK`, `HAN`, `HANGUL`, `KATAKANA`, `HIRAGANA` to built-in rules. https://unicode.org/faq/han_cjk.html - Chinese - `HAN` - Japanese - `KATAKANA`, `HIRAGANA` - Korean - `HANGUL` So we can easy to to match the CJK chars. * Rewrite pest_meta::UNICODE_PROPERTY_NAMES to pest::unicode::unicode_property_names. - will generate property names by use macro. - has been removed. * Improve unicode `char_property_functions` macro for supports original BY_NAME values by `ucd-generate` generated. And export all property names from Unicode (Script). * Add test for Unicode (Script) bulit-in rules. * Revert `pest_meta::UNICODE_PROPERTY_NAMES` const, and deprecated it. * Update pest/src/unicode/mod.rs
- Loading branch information
Showing
10 changed files
with
7,339 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.