Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/RegExp/property-escapes/generated/Soft_Dotted.js

raw
1 // Copyright 2017 Mathias Bynens. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Mathias Bynens
6 description: >
7 Unicode property escapes for `Soft_Dotted`
8 info: |
9 Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
10 Unicode v10.0.0
11 Emoji v5.0 (UTR51)
12 esid: sec-static-semantics-unicodematchproperty-p
13 features: [regexp-unicode-property-escapes]
14 includes: [regExpUtils.js]
15 ---*/
16
17 const matchSymbols = buildString({
18 loneCodePoints: [
19 0x00012F,
20 0x000249,
21 0x000268,
22 0x00029D,
23 0x0002B2,
24 0x0003F3,
25 0x000456,
26 0x000458,
27 0x001D62,
28 0x001D96,
29 0x001DA4,
30 0x001DA8,
31 0x001E2D,
32 0x001ECB,
33 0x002071,
34 0x002C7C
35 ],
36 ranges: [
37 [0x000069, 0x00006A],
38 [0x002148, 0x002149],
39 [0x01D422, 0x01D423],
40 [0x01D456, 0x01D457],
41 [0x01D48A, 0x01D48B],
42 [0x01D4BE, 0x01D4BF],
43 [0x01D4F2, 0x01D4F3],
44 [0x01D526, 0x01D527],
45 [0x01D55A, 0x01D55B],
46 [0x01D58E, 0x01D58F],
47 [0x01D5C2, 0x01D5C3],
48 [0x01D5F6, 0x01D5F7],
49 [0x01D62A, 0x01D62B],
50 [0x01D65E, 0x01D65F],
51 [0x01D692, 0x01D693]
52 ]
53 });
54 testPropertyEscapes(
55 /^\p{Soft_Dotted}+$/u,
56 matchSymbols,
57 "\\p{Soft_Dotted}"
58 );
59 testPropertyEscapes(
60 /^\p{SD}+$/u,
61 matchSymbols,
62 "\\p{SD}"
63 );
64
65 const nonMatchSymbols = buildString({
66 loneCodePoints: [
67 0x000457
68 ],
69 ranges: [
70 [0x00DC00, 0x00DFFF],
71 [0x000000, 0x000068],
72 [0x00006B, 0x00012E],
73 [0x000130, 0x000248],
74 [0x00024A, 0x000267],
75 [0x000269, 0x00029C],
76 [0x00029E, 0x0002B1],
77 [0x0002B3, 0x0003F2],
78 [0x0003F4, 0x000455],
79 [0x000459, 0x001D61],
80 [0x001D63, 0x001D95],
81 [0x001D97, 0x001DA3],
82 [0x001DA5, 0x001DA7],
83 [0x001DA9, 0x001E2C],
84 [0x001E2E, 0x001ECA],
85 [0x001ECC, 0x002070],
86 [0x002072, 0x002147],
87 [0x00214A, 0x002C7B],
88 [0x002C7D, 0x00DBFF],
89 [0x00E000, 0x01D421],
90 [0x01D424, 0x01D455],
91 [0x01D458, 0x01D489],
92 [0x01D48C, 0x01D4BD],
93 [0x01D4C0, 0x01D4F1],
94 [0x01D4F4, 0x01D525],
95 [0x01D528, 0x01D559],
96 [0x01D55C, 0x01D58D],
97 [0x01D590, 0x01D5C1],
98 [0x01D5C4, 0x01D5F5],
99 [0x01D5F8, 0x01D629],
100 [0x01D62C, 0x01D65D],
101 [0x01D660, 0x01D691],
102 [0x01D694, 0x10FFFF]
103 ]
104 });
105 testPropertyEscapes(
106 /^\P{Soft_Dotted}+$/u,
107 nonMatchSymbols,
108 "\\P{Soft_Dotted}"
109 );
110 testPropertyEscapes(
111 /^\P{SD}+$/u,
112 nonMatchSymbols,
113 "\\P{SD}"
114 );