Skip to content

Commit

Permalink
Add tests for Unicode v16 property escapes
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens authored and Ms2ger committed Sep 13, 2024
1 parent 83c58c5 commit 77e98fb
Show file tree
Hide file tree
Showing 567 changed files with 3,827 additions and 1,520 deletions.
2 changes: 1 addition & 1 deletion test/built-ins/RegExp/property-escapes/generated/ASCII.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `ASCII`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.1.0
Unicode v16.0.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `ASCII_Hex_Digit`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.1.0
Unicode v16.0.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
94 changes: 71 additions & 23 deletions test/built-ins/RegExp/property-escapes/generated/Alphabetic.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Alphabetic`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.1.0
Unicode v16.0.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand All @@ -29,6 +29,7 @@ const matchSymbols = buildString({
0x0005C7,
0x0006FF,
0x0007FA,
0x000897,
0x0009B2,
0x0009CE,
0x0009D7,
Expand Down Expand Up @@ -85,6 +86,8 @@ const matchSymbols = buildString({
0x00FB3E,
0x010808,
0x01083C,
0x010D69,
0x010EFC,
0x010F27,
0x0110C2,
0x011176,
Expand All @@ -94,6 +97,12 @@ const matchSymbols = buildString({
0x011288,
0x011350,
0x011357,
0x01138B,
0x01138E,
0x0113C2,
0x0113C5,
0x0113D1,
0x0113D3,
0x0114C7,
0x011640,
0x011644,
Expand All @@ -115,6 +124,7 @@ const matchSymbols = buildString({
0x01D546,
0x01E08F,
0x01E14E,
0x01E5F0,
0x01E947,
0x01E94B,
0x01EE24,
Expand Down Expand Up @@ -142,7 +152,7 @@ const matchSymbols = buildString({
[0x0000F8, 0x0002C1],
[0x0002C6, 0x0002D1],
[0x0002E0, 0x0002E4],
[0x000370, 0x000374],
[0x000363, 0x000374],
[0x000376, 0x000377],
[0x00037A, 0x00037D],
[0x000388, 0x00038A],
Expand Down Expand Up @@ -359,14 +369,14 @@ const matchSymbols = buildString({
[0x001C00, 0x001C36],
[0x001C4D, 0x001C4F],
[0x001C5A, 0x001C7D],
[0x001C80, 0x001C88],
[0x001C80, 0x001C8A],
[0x001C90, 0x001CBA],
[0x001CBD, 0x001CBF],
[0x001CE9, 0x001CEC],
[0x001CEE, 0x001CF3],
[0x001CF5, 0x001CF6],
[0x001D00, 0x001DBF],
[0x001DE7, 0x001DF4],
[0x001DD3, 0x001DF4],
[0x001E00, 0x001F15],
[0x001F18, 0x001F1D],
[0x001F20, 0x001F45],
Expand Down Expand Up @@ -429,9 +439,9 @@ const matchSymbols = buildString({
[0x00A67F, 0x00A6EF],
[0x00A717, 0x00A71F],
[0x00A722, 0x00A788],
[0x00A78B, 0x00A7CA],
[0x00A78B, 0x00A7CD],
[0x00A7D0, 0x00A7D1],
[0x00A7D5, 0x00A7D9],
[0x00A7D5, 0x00A7DC],
[0x00A7F2, 0x00A805],
[0x00A807, 0x00A827],
[0x00A840, 0x00A873],
Expand Down Expand Up @@ -516,6 +526,7 @@ const matchSymbols = buildString({
[0x0105A3, 0x0105B1],
[0x0105B3, 0x0105B9],
[0x0105BB, 0x0105BC],
[0x0105C0, 0x0105F3],
[0x010600, 0x010736],
[0x010740, 0x010755],
[0x010760, 0x010767],
Expand Down Expand Up @@ -551,9 +562,12 @@ const matchSymbols = buildString({
[0x010C80, 0x010CB2],
[0x010CC0, 0x010CF2],
[0x010D00, 0x010D27],
[0x010D4A, 0x010D65],
[0x010D6F, 0x010D85],
[0x010E80, 0x010EA9],
[0x010EAB, 0x010EAC],
[0x010EB0, 0x010EB1],
[0x010EC2, 0x010EC4],
[0x010F00, 0x010F1C],
[0x010F30, 0x010F45],
[0x010F70, 0x010F81],
Expand Down Expand Up @@ -588,6 +602,11 @@ const matchSymbols = buildString({
[0x011347, 0x011348],
[0x01134B, 0x01134C],
[0x01135D, 0x011363],
[0x011380, 0x011389],
[0x011390, 0x0113B5],
[0x0113B7, 0x0113C0],
[0x0113C7, 0x0113CA],
[0x0113CC, 0x0113CD],
[0x011400, 0x011441],
[0x011443, 0x011445],
[0x011447, 0x01144A],
Expand Down Expand Up @@ -619,6 +638,7 @@ const matchSymbols = buildString({
[0x011A35, 0x011A3E],
[0x011A50, 0x011A97],
[0x011AB0, 0x011AF8],
[0x011BC0, 0x011BE0],
[0x011C00, 0x011C08],
[0x011C0A, 0x011C36],
[0x011C38, 0x011C3E],
Expand Down Expand Up @@ -646,7 +666,9 @@ const matchSymbols = buildString({
[0x012F90, 0x012FF0],
[0x013000, 0x01342F],
[0x013441, 0x013446],
[0x013460, 0x0143FA],
[0x014400, 0x014646],
[0x016100, 0x01612E],
[0x016800, 0x016A38],
[0x016A40, 0x016A5E],
[0x016A70, 0x016ABE],
Expand All @@ -655,6 +677,7 @@ const matchSymbols = buildString({
[0x016B40, 0x016B43],
[0x016B63, 0x016B77],
[0x016B7D, 0x016B8F],
[0x016D40, 0x016D6C],
[0x016E40, 0x016E7F],
[0x016F00, 0x016F4A],
[0x016F4F, 0x016F87],
Expand All @@ -663,7 +686,7 @@ const matchSymbols = buildString({
[0x016FF0, 0x016FF1],
[0x017000, 0x0187F7],
[0x018800, 0x018CD5],
[0x018D00, 0x018D08],
[0x018CFF, 0x018D08],
[0x01AFF0, 0x01AFF3],
[0x01AFF5, 0x01AFFB],
[0x01AFFD, 0x01AFFE],
Expand Down Expand Up @@ -715,6 +738,7 @@ const matchSymbols = buildString({
[0x01E290, 0x01E2AD],
[0x01E2C0, 0x01E2EB],
[0x01E4D0, 0x01E4EB],
[0x01E5D0, 0x01E5ED],
[0x01E7E0, 0x01E7E6],
[0x01E7E8, 0x01E7EB],
[0x01E7ED, 0x01E7EE],
Expand Down Expand Up @@ -946,6 +970,13 @@ const nonMatchSymbols = buildString({
0x011329,
0x011331,
0x011334,
0x01138A,
0x01138F,
0x0113B6,
0x0113C1,
0x0113C6,
0x0113CB,
0x0113D2,
0x011442,
0x011446,
0x0114C6,
Expand Down Expand Up @@ -1043,7 +1074,7 @@ const nonMatchSymbols = buildString({
[0x0002D2, 0x0002DF],
[0x0002E5, 0x0002EB],
[0x0002EF, 0x000344],
[0x000346, 0x00036F],
[0x000346, 0x000362],
[0x000378, 0x000379],
[0x000380, 0x000385],
[0x000482, 0x000489],
Expand All @@ -1069,7 +1100,8 @@ const nonMatchSymbols = buildString({
[0x00082D, 0x00083F],
[0x000859, 0x00085F],
[0x00086B, 0x00086F],
[0x00088F, 0x00089F],
[0x00088F, 0x000896],
[0x000898, 0x00089F],
[0x0008CA, 0x0008D3],
[0x0008E0, 0x0008E2],
[0x0008EA, 0x0008EF],
Expand Down Expand Up @@ -1199,12 +1231,12 @@ const nonMatchSymbols = buildString({
[0x001C37, 0x001C4C],
[0x001C50, 0x001C59],
[0x001C7E, 0x001C7F],
[0x001C89, 0x001C8F],
[0x001C8B, 0x001C8F],
[0x001CBB, 0x001CBC],
[0x001CC0, 0x001CE8],
[0x001CF7, 0x001CF9],
[0x001CFB, 0x001CFF],
[0x001DC0, 0x001DE6],
[0x001DC0, 0x001DD2],
[0x001DF5, 0x001DFF],
[0x001F16, 0x001F17],
[0x001F1E, 0x001F1F],
Expand Down Expand Up @@ -1260,8 +1292,8 @@ const nonMatchSymbols = buildString({
[0x00A6F0, 0x00A716],
[0x00A720, 0x00A721],
[0x00A789, 0x00A78A],
[0x00A7CB, 0x00A7CF],
[0x00A7DA, 0x00A7F1],
[0x00A7CE, 0x00A7CF],
[0x00A7DD, 0x00A7F1],
[0x00A828, 0x00A83F],
[0x00A874, 0x00A87F],
[0x00A8C6, 0x00A8F1],
Expand Down Expand Up @@ -1323,7 +1355,8 @@ const nonMatchSymbols = buildString({
[0x0104FC, 0x0104FF],
[0x010528, 0x01052F],
[0x010564, 0x01056F],
[0x0105BD, 0x0105FF],
[0x0105BD, 0x0105BF],
[0x0105F4, 0x0105FF],
[0x010737, 0x01073F],
[0x010756, 0x01075F],
[0x010768, 0x01077F],
Expand Down Expand Up @@ -1351,9 +1384,14 @@ const nonMatchSymbols = buildString({
[0x010C49, 0x010C7F],
[0x010CB3, 0x010CBF],
[0x010CF3, 0x010CFF],
[0x010D28, 0x010E7F],
[0x010D28, 0x010D49],
[0x010D66, 0x010D68],
[0x010D6A, 0x010D6E],
[0x010D86, 0x010E7F],
[0x010EAD, 0x010EAF],
[0x010EB2, 0x010EFF],
[0x010EB2, 0x010EC1],
[0x010EC5, 0x010EFB],
[0x010EFD, 0x010EFF],
[0x010F1D, 0x010F26],
[0x010F28, 0x010F2F],
[0x010F46, 0x010F6F],
Expand Down Expand Up @@ -1385,7 +1423,11 @@ const nonMatchSymbols = buildString({
[0x01134D, 0x01134F],
[0x011351, 0x011356],
[0x011358, 0x01135C],
[0x011364, 0x0113FF],
[0x011364, 0x01137F],
[0x01138C, 0x01138D],
[0x0113C3, 0x0113C4],
[0x0113CE, 0x0113D0],
[0x0113D4, 0x0113FF],
[0x01144B, 0x01145E],
[0x011462, 0x01147F],
[0x0114C2, 0x0114C3],
Expand Down Expand Up @@ -1414,7 +1456,8 @@ const nonMatchSymbols = buildString({
[0x011A3F, 0x011A4F],
[0x011A98, 0x011A9C],
[0x011A9E, 0x011AAF],
[0x011AF9, 0x011BFF],
[0x011AF9, 0x011BBF],
[0x011BE1, 0x011BFF],
[0x011C41, 0x011C71],
[0x011C90, 0x011C91],
[0x011CB7, 0x011CFF],
Expand All @@ -1431,24 +1474,27 @@ const nonMatchSymbols = buildString({
[0x012544, 0x012F8F],
[0x012FF1, 0x012FFF],
[0x013430, 0x013440],
[0x013447, 0x0143FF],
[0x014647, 0x0167FF],
[0x013447, 0x01345F],
[0x0143FB, 0x0143FF],
[0x014647, 0x0160FF],
[0x01612F, 0x0167FF],
[0x016A39, 0x016A3F],
[0x016A5F, 0x016A6F],
[0x016ABF, 0x016ACF],
[0x016AEE, 0x016AFF],
[0x016B30, 0x016B3F],
[0x016B44, 0x016B62],
[0x016B78, 0x016B7C],
[0x016B90, 0x016E3F],
[0x016B90, 0x016D3F],
[0x016D6D, 0x016E3F],
[0x016E80, 0x016EFF],
[0x016F4B, 0x016F4E],
[0x016F88, 0x016F8E],
[0x016FA0, 0x016FDF],
[0x016FE4, 0x016FEF],
[0x016FF2, 0x016FFF],
[0x0187F8, 0x0187FF],
[0x018CD6, 0x018CFF],
[0x018CD6, 0x018CFE],
[0x018D09, 0x01AFEF],
[0x01B123, 0x01B131],
[0x01B133, 0x01B14F],
Expand Down Expand Up @@ -1479,7 +1525,9 @@ const nonMatchSymbols = buildString({
[0x01E14F, 0x01E28F],
[0x01E2AE, 0x01E2BF],
[0x01E2EC, 0x01E4CF],
[0x01E4EC, 0x01E7DF],
[0x01E4EC, 0x01E5CF],
[0x01E5EE, 0x01E5EF],
[0x01E5F1, 0x01E7DF],
[0x01E8C5, 0x01E8FF],
[0x01E944, 0x01E946],
[0x01E948, 0x01E94A],
Expand Down
2 changes: 1 addition & 1 deletion test/built-ins/RegExp/property-escapes/generated/Any.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Any`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.1.0
Unicode v16.0.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Loading

0 comments on commit 77e98fb

Please sign in to comment.