Skip to content

Commit

Permalink
Merge pull request #125 from nicolo-ribaudo/test-upe-quantifier
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored Jan 16, 2022
2 parents f70e9d7 + d05fa53 commit ef3edba
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions test/test-data-unicode-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,54 @@
],
"raw": "foo\\P{ASCII_Hex_Digit}bar"
},
"\\p{ASCII_Hex_Digit}{4}": {
"type": "quantifier",
"min": 4,
"max": 4,
"greedy": true,
"body": [
{
"type": "unicodePropertyEscape",
"negative": false,
"value": "ASCII_Hex_Digit",
"range": [
0,
19
],
"raw": "\\p{ASCII_Hex_Digit}"
}
],
"symbol": null,
"range": [
0,
22
],
"raw": "\\p{ASCII_Hex_Digit}{4}"
},
"\\p{ASCII_Hex_Digit}+": {
"type": "quantifier",
"min": 1,
"max": null,
"greedy": true,
"body": [
{
"type": "unicodePropertyEscape",
"negative": false,
"value": "ASCII_Hex_Digit",
"range": [
0,
19
],
"raw": "\\p{ASCII_Hex_Digit}"
}
],
"symbol": "+",
"range": [
0,
20
],
"raw": "\\p{ASCII_Hex_Digit}+"
},
"\\p{}": {
"type": "error",
"name": "SyntaxError",
Expand Down

0 comments on commit ef3edba

Please sign in to comment.