-
Notifications
You must be signed in to change notification settings - Fork 726
Add Unicode property escape support to RegExp #1295
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
Closed
Closed
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e906034
Add Unicode properties support to genUnicodeTable.py
fe08a42
Generate Unicode data tables.
349bb05
Bump Unicode Database version to 15.1.0
fc556df
Generate Unicode data tables.
13a7b45
Helper to add Unicode property ranges to a CodePointSet
8eceeba
Replace Unicode digit and connector punctuation usage
ab1d616
Add support for Unicode property names to the RegExp parser
3bd76fd
Tests for Unicode property names in RegExp
9b207c8
Update RegExp docs to include Unicode property name support
9cceed9
Improved structures for Unicode properties from genUnicodeTable.py
c10a01b
Generate Unicode data tables with improved structures
90a7228
Modify addUnicodePropertyRanges to use new structures
bf74303
Avoid dynamic reallocation in genUnicodeTable.py Unicode properties
e3bca6e
Generate Unicode data tables
cacddc7
Add RegExp Unicode tests for compound General_Category properties
42592b2
Modify addUnicodePropertyRanges to use offset and size structures
a689255
Add a CMake option to disable RegExp Unicode property escapes
53cc304
Skip tests for Unicode property escapes when the feature is disabled
e3e2d50
Add more docstrings and high-level comments to genUnicodeTable.py
0b92af0
Manually format range pool output to 3 columns in genUnicodeTable.py
b31c60b
Generate Unicode data tables
1b14949
Remove the need for `findRangeMapEntry`
0f71098
Prefer to pass `string_view` by value
f4388a0
Add a comment about Script_Extensions sharing names with Scripts
f1d0057
Treat an empty property name as a parser error right away
e35ea31
Assert the "not unicode" pre-condition when parsing a Unicode propert…
68e77a9
Use ArrayRef in addUnicodePropertyRanges to simplify the usage
10c1264
Generate contiguous script and script extension ranges
55a36b8
Generate Unicode data tables
2dcc669
Split the responsibility of `addUnicodeProperty`
339f5c9
Add more test cases for script extensions
8ce3a2f
Make the logical flow of `unicodePropertyRanges` more linear
64a18e7
Replace unnecessary bitfields with standard types
b372992
Expand split string of binary property names to a literal list
3b223ab
Add instructions for the use of genUnicodeTable.py
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.