Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Oriya.js

raw
1 // Copyright 2024 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 `Script_Extensions=Oriya`
8 info: |
9 Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
10 Unicode v16.0.0
11 esid: sec-static-semantics-unicodematchproperty-p
12 features: [regexp-unicode-property-escapes]
13 includes: [regExpUtils.js]
14 ---*/
15
16 const matchSymbols = buildString({
17 loneCodePoints: [
18 0x001CDA,
19 0x001CF2
20 ],
21 ranges: [
22 [0x000951, 0x000952],
23 [0x000964, 0x000965],
24 [0x000B01, 0x000B03],
25 [0x000B05, 0x000B0C],
26 [0x000B0F, 0x000B10],
27 [0x000B13, 0x000B28],
28 [0x000B2A, 0x000B30],
29 [0x000B32, 0x000B33],
30 [0x000B35, 0x000B39],
31 [0x000B3C, 0x000B44],
32 [0x000B47, 0x000B48],
33 [0x000B4B, 0x000B4D],
34 [0x000B55, 0x000B57],
35 [0x000B5C, 0x000B5D],
36 [0x000B5F, 0x000B63],
37 [0x000B66, 0x000B77]
38 ]
39 });
40 testPropertyEscapes(
41 /^\p{Script_Extensions=Oriya}+$/u,
42 matchSymbols,
43 "\\p{Script_Extensions=Oriya}"
44 );
45 testPropertyEscapes(
46 /^\p{Script_Extensions=Orya}+$/u,
47 matchSymbols,
48 "\\p{Script_Extensions=Orya}"
49 );
50 testPropertyEscapes(
51 /^\p{scx=Oriya}+$/u,
52 matchSymbols,
53 "\\p{scx=Oriya}"
54 );
55 testPropertyEscapes(
56 /^\p{scx=Orya}+$/u,
57 matchSymbols,
58 "\\p{scx=Orya}"
59 );
60
61 const nonMatchSymbols = buildString({
62 loneCodePoints: [
63 0x000B04,
64 0x000B29,
65 0x000B31,
66 0x000B34,
67 0x000B5E
68 ],
69 ranges: [
70 [0x00DC00, 0x00DFFF],
71 [0x000000, 0x000950],
72 [0x000953, 0x000963],
73 [0x000966, 0x000B00],
74 [0x000B0D, 0x000B0E],
75 [0x000B11, 0x000B12],
76 [0x000B3A, 0x000B3B],
77 [0x000B45, 0x000B46],
78 [0x000B49, 0x000B4A],
79 [0x000B4E, 0x000B54],
80 [0x000B58, 0x000B5B],
81 [0x000B64, 0x000B65],
82 [0x000B78, 0x001CD9],
83 [0x001CDB, 0x001CF1],
84 [0x001CF3, 0x00DBFF],
85 [0x00E000, 0x10FFFF]
86 ]
87 });
88 testPropertyEscapes(
89 /^\P{Script_Extensions=Oriya}+$/u,
90 nonMatchSymbols,
91 "\\P{Script_Extensions=Oriya}"
92 );
93 testPropertyEscapes(
94 /^\P{Script_Extensions=Orya}+$/u,
95 nonMatchSymbols,
96 "\\P{Script_Extensions=Orya}"
97 );
98 testPropertyEscapes(
99 /^\P{scx=Oriya}+$/u,
100 nonMatchSymbols,
101 "\\P{scx=Oriya}"
102 );
103 testPropertyEscapes(
104 /^\P{scx=Orya}+$/u,
105 nonMatchSymbols,
106 "\\P{scx=Orya}"
107 );
108
109 reportCompare(0, 0);