@kanonak-protocol/expression 0.3.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +81 -25
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
- package/vectors/expression-alignment-vectors.json +942 -0
- package/vectors/expression-surface-vectors.json +514 -0
- package/vectors/expression-vectors-2.json +1590 -0
- package/vectors/expression-vectors.json +85 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
{
|
|
2
|
+
"expressionRuntimeVersion": "2",
|
|
3
|
+
"description": "The public surface every port exposes beside evaluate (runtime 1.1.0). `evaluates` pins evaluates(typeUri): true exactly for the node classes the kernel folds itself (operators and literals); false for a binding (VarRef), a graph read (PropertyRead), a domain leaf, and an expression class only a host engine implements - a host checks an authored tree against it instead of probing evaluate. `matches` pins matches(input, pattern): the pinned RE2-compatible XSD-regex subset under fn:matches semantics, exactly as tx.Matches evaluates it (the cases are the v2 Matches vectors with a literal source); expectError marks a pattern outside the subset, which is a loud error.",
|
|
4
|
+
"evaluates": [
|
|
5
|
+
{
|
|
6
|
+
"id": "evaluates-tx-IntegerLiteral",
|
|
7
|
+
"type": "kanonak.org/transformations/IntegerLiteral",
|
|
8
|
+
"expected": true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "evaluates-tx-DecimalLiteral",
|
|
12
|
+
"type": "kanonak.org/transformations/DecimalLiteral",
|
|
13
|
+
"expected": true
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "evaluates-tx-BooleanLiteral",
|
|
17
|
+
"type": "kanonak.org/transformations/BooleanLiteral",
|
|
18
|
+
"expected": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "evaluates-tx-StringLiteral",
|
|
22
|
+
"type": "kanonak.org/transformations/StringLiteral",
|
|
23
|
+
"expected": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "evaluates-tx-UriLiteral",
|
|
27
|
+
"type": "kanonak.org/transformations/UriLiteral",
|
|
28
|
+
"expected": true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "evaluates-tx-Add",
|
|
32
|
+
"type": "kanonak.org/transformations/Add",
|
|
33
|
+
"expected": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "evaluates-tx-Subtract",
|
|
37
|
+
"type": "kanonak.org/transformations/Subtract",
|
|
38
|
+
"expected": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "evaluates-tx-Multiply",
|
|
42
|
+
"type": "kanonak.org/transformations/Multiply",
|
|
43
|
+
"expected": true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "evaluates-tx-Divide",
|
|
47
|
+
"type": "kanonak.org/transformations/Divide",
|
|
48
|
+
"expected": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "evaluates-tx-Abs",
|
|
52
|
+
"type": "kanonak.org/transformations/Abs",
|
|
53
|
+
"expected": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "evaluates-tx-Negate",
|
|
57
|
+
"type": "kanonak.org/transformations/Negate",
|
|
58
|
+
"expected": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "evaluates-tx-Equals",
|
|
62
|
+
"type": "kanonak.org/transformations/Equals",
|
|
63
|
+
"expected": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "evaluates-tx-GreaterThan",
|
|
67
|
+
"type": "kanonak.org/transformations/GreaterThan",
|
|
68
|
+
"expected": true
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "evaluates-tx-LessThan",
|
|
72
|
+
"type": "kanonak.org/transformations/LessThan",
|
|
73
|
+
"expected": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "evaluates-tx-GreaterThanOrEqual",
|
|
77
|
+
"type": "kanonak.org/transformations/GreaterThanOrEqual",
|
|
78
|
+
"expected": true
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "evaluates-tx-LessThanOrEqual",
|
|
82
|
+
"type": "kanonak.org/transformations/LessThanOrEqual",
|
|
83
|
+
"expected": true
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "evaluates-tx-IsAtLeast",
|
|
87
|
+
"type": "kanonak.org/transformations/IsAtLeast",
|
|
88
|
+
"expected": true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "evaluates-tx-Dominates",
|
|
92
|
+
"type": "kanonak.org/transformations/Dominates",
|
|
93
|
+
"expected": true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "evaluates-tx-And",
|
|
97
|
+
"type": "kanonak.org/transformations/And",
|
|
98
|
+
"expected": true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "evaluates-tx-Or",
|
|
102
|
+
"type": "kanonak.org/transformations/Or",
|
|
103
|
+
"expected": true
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "evaluates-tx-Not",
|
|
107
|
+
"type": "kanonak.org/transformations/Not",
|
|
108
|
+
"expected": true
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "evaluates-tx-Count",
|
|
112
|
+
"type": "kanonak.org/transformations/Count",
|
|
113
|
+
"expected": true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "evaluates-tx-Sum",
|
|
117
|
+
"type": "kanonak.org/transformations/Sum",
|
|
118
|
+
"expected": true
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "evaluates-tx-Min",
|
|
122
|
+
"type": "kanonak.org/transformations/Min",
|
|
123
|
+
"expected": true
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "evaluates-tx-Max",
|
|
127
|
+
"type": "kanonak.org/transformations/Max",
|
|
128
|
+
"expected": true
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "evaluates-tx-Average",
|
|
132
|
+
"type": "kanonak.org/transformations/Average",
|
|
133
|
+
"expected": true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "evaluates-tx-Join",
|
|
137
|
+
"type": "kanonak.org/transformations/Join",
|
|
138
|
+
"expected": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "evaluates-tx-Reverse",
|
|
142
|
+
"type": "kanonak.org/transformations/Reverse",
|
|
143
|
+
"expected": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "evaluates-tx-ListItemAt",
|
|
147
|
+
"type": "kanonak.org/transformations/ListItemAt",
|
|
148
|
+
"expected": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "evaluates-tx-ForEach",
|
|
152
|
+
"type": "kanonak.org/transformations/ForEach",
|
|
153
|
+
"expected": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "evaluates-tx-ListMap",
|
|
157
|
+
"type": "kanonak.org/transformations/ListMap",
|
|
158
|
+
"expected": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "evaluates-tx-Filter",
|
|
162
|
+
"type": "kanonak.org/transformations/Filter",
|
|
163
|
+
"expected": true
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "evaluates-tx-Contains",
|
|
167
|
+
"type": "kanonak.org/transformations/Contains",
|
|
168
|
+
"expected": true
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "evaluates-tx-IsSet",
|
|
172
|
+
"type": "kanonak.org/transformations/IsSet",
|
|
173
|
+
"expected": true
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "evaluates-tx-IsString",
|
|
177
|
+
"type": "kanonak.org/transformations/IsString",
|
|
178
|
+
"expected": true
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "evaluates-tx-IsNumber",
|
|
182
|
+
"type": "kanonak.org/transformations/IsNumber",
|
|
183
|
+
"expected": true
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "evaluates-tx-IsReference",
|
|
187
|
+
"type": "kanonak.org/transformations/IsReference",
|
|
188
|
+
"expected": true
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "evaluates-tx-IsList",
|
|
192
|
+
"type": "kanonak.org/transformations/IsList",
|
|
193
|
+
"expected": true
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "evaluates-tx-Matches",
|
|
197
|
+
"type": "kanonak.org/transformations/Matches",
|
|
198
|
+
"expected": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "evaluates-math-Power",
|
|
202
|
+
"type": "kanonak.org/math/Power",
|
|
203
|
+
"expected": true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "evaluates-math-Modulo",
|
|
207
|
+
"type": "kanonak.org/math/Modulo",
|
|
208
|
+
"expected": true
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "evaluates-math-Minimum",
|
|
212
|
+
"type": "kanonak.org/math/Minimum",
|
|
213
|
+
"expected": true
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "evaluates-math-Maximum",
|
|
217
|
+
"type": "kanonak.org/math/Maximum",
|
|
218
|
+
"expected": true
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "evaluates-math-Exp",
|
|
222
|
+
"type": "kanonak.org/math/Exp",
|
|
223
|
+
"expected": true
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "evaluates-math-Ln",
|
|
227
|
+
"type": "kanonak.org/math/Ln",
|
|
228
|
+
"expected": true
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "evaluates-math-Log10",
|
|
232
|
+
"type": "kanonak.org/math/Log10",
|
|
233
|
+
"expected": true
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "evaluates-math-Sqrt",
|
|
237
|
+
"type": "kanonak.org/math/Sqrt",
|
|
238
|
+
"expected": true
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "evaluates-math-Floor",
|
|
242
|
+
"type": "kanonak.org/math/Floor",
|
|
243
|
+
"expected": true
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "evaluates-math-Ceil",
|
|
247
|
+
"type": "kanonak.org/math/Ceil",
|
|
248
|
+
"expected": true
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "evaluates-math-Round",
|
|
252
|
+
"type": "kanonak.org/math/Round",
|
|
253
|
+
"expected": true
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "evaluates-math-Sign",
|
|
257
|
+
"type": "kanonak.org/math/Sign",
|
|
258
|
+
"expected": true
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "evaluates-math-Clip",
|
|
262
|
+
"type": "kanonak.org/math/Clip",
|
|
263
|
+
"expected": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "evaluates-not-VarRef",
|
|
267
|
+
"type": "kanonak.org/transformations/VarRef",
|
|
268
|
+
"expected": false,
|
|
269
|
+
"description": "a binding: the kernel binds only its own iterators' loop variables; any other VarRef is the caller's"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "evaluates-not-PropertyRead",
|
|
273
|
+
"type": "kanonak.org/transformations/PropertyRead",
|
|
274
|
+
"expected": false,
|
|
275
|
+
"description": "a graph read: the caller's leaf"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "evaluates-not-IsBoolean",
|
|
279
|
+
"type": "kanonak.org/transformations/IsBoolean",
|
|
280
|
+
"expected": false,
|
|
281
|
+
"description": "a host kind: booleans are 1/0 numbers in the kernel"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "evaluates-not-IsEmbedded",
|
|
285
|
+
"type": "kanonak.org/transformations/IsEmbedded",
|
|
286
|
+
"expected": false,
|
|
287
|
+
"description": "a host kind: embedded nodes never enter the kernel"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "evaluates-not-Let",
|
|
291
|
+
"type": "kanonak.org/transformations/Let",
|
|
292
|
+
"expected": false,
|
|
293
|
+
"description": "not a kernel operator"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"id": "evaluates-not-When",
|
|
297
|
+
"type": "kanonak.org/transformations/When",
|
|
298
|
+
"expected": false,
|
|
299
|
+
"description": "not a kernel operator"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "evaluates-not-Concat",
|
|
303
|
+
"type": "kanonak.org/transformations/Concat",
|
|
304
|
+
"expected": false,
|
|
305
|
+
"description": "not a kernel operator"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"id": "evaluates-not-Fallback",
|
|
309
|
+
"type": "kanonak.org/transformations/Fallback",
|
|
310
|
+
"expected": false,
|
|
311
|
+
"description": "not a kernel operator"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "evaluates-not-Traverse",
|
|
315
|
+
"type": "kanonak.org/transformations/Traverse",
|
|
316
|
+
"expected": false,
|
|
317
|
+
"description": "not a kernel operator"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"id": "evaluates-not-DistinctBy",
|
|
321
|
+
"type": "kanonak.org/transformations/DistinctBy",
|
|
322
|
+
"expected": false,
|
|
323
|
+
"description": "not a kernel operator"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "evaluates-not-PartitionBy",
|
|
327
|
+
"type": "kanonak.org/transformations/PartitionBy",
|
|
328
|
+
"expected": false,
|
|
329
|
+
"description": "not a kernel operator"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "evaluates-not-Expression",
|
|
333
|
+
"type": "kanonak.org/transformations/Expression",
|
|
334
|
+
"expected": false,
|
|
335
|
+
"description": "abstract"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": "evaluates-not-BinaryArithmetic",
|
|
339
|
+
"type": "kanonak.org/transformations/BinaryArithmetic",
|
|
340
|
+
"expected": false,
|
|
341
|
+
"description": "abstract"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"id": "evaluates-not-Step",
|
|
345
|
+
"type": "example.org/sim/Step",
|
|
346
|
+
"expected": false,
|
|
347
|
+
"description": "a domain leaf: the caller's"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"matches": [
|
|
351
|
+
{
|
|
352
|
+
"id": "matches-matches-anchored-hit",
|
|
353
|
+
"input": "E-1002",
|
|
354
|
+
"pattern": "^E-\\d+$",
|
|
355
|
+
"expected": true
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "matches-matches-unanchored-substring",
|
|
359
|
+
"input": "abc123def",
|
|
360
|
+
"pattern": "\\d+",
|
|
361
|
+
"expected": true
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": "matches-matches-miss",
|
|
365
|
+
"input": "hello",
|
|
366
|
+
"pattern": "^\\d+$",
|
|
367
|
+
"expected": false
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"id": "matches-matches-prefix-case-fold",
|
|
371
|
+
"input": "ABC",
|
|
372
|
+
"pattern": "(?i)abc",
|
|
373
|
+
"expected": true
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"id": "matches-matches-prefix-multiple-distinct-flags",
|
|
377
|
+
"input": "ABC",
|
|
378
|
+
"pattern": "(?ims)^abc$",
|
|
379
|
+
"expected": true
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"id": "matches-matches-repeated-flag-in-prefix-outside-subset",
|
|
383
|
+
"input": "abc",
|
|
384
|
+
"pattern": "(?ii)abc",
|
|
385
|
+
"expectError": true
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"id": "matches-matches-second-flag-prefix-outside-subset",
|
|
389
|
+
"input": "abc",
|
|
390
|
+
"pattern": "(?i)(?s)abc",
|
|
391
|
+
"expectError": true
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"id": "matches-matches-mid-pattern-flag-group-outside-subset",
|
|
395
|
+
"input": "ABC",
|
|
396
|
+
"pattern": "x(?i:abc)",
|
|
397
|
+
"expectError": true
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"id": "matches-matches-class-range-and-quantifier",
|
|
401
|
+
"input": "kanonak-2",
|
|
402
|
+
"pattern": "^[a-z][a-z0-9-]{2,15}$",
|
|
403
|
+
"expected": true
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"id": "matches-matches-lookahead-outside-subset",
|
|
407
|
+
"input": "abc",
|
|
408
|
+
"pattern": "a(?=b)",
|
|
409
|
+
"expectError": true
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "matches-matches-backreference-outside-subset",
|
|
413
|
+
"input": "abab",
|
|
414
|
+
"pattern": "(ab)\\1",
|
|
415
|
+
"expectError": true
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"id": "matches-matches-unicode-property-outside-subset",
|
|
419
|
+
"input": "a",
|
|
420
|
+
"pattern": "\\p{L}",
|
|
421
|
+
"expectError": true
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"id": "matches-matches-posix-class-outside-subset",
|
|
425
|
+
"input": "a",
|
|
426
|
+
"pattern": "[[:alpha:]]",
|
|
427
|
+
"expectError": true
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"id": "matches-matches-lookbehind-outside-subset",
|
|
431
|
+
"input": "ab",
|
|
432
|
+
"pattern": "(?<=a)b",
|
|
433
|
+
"expectError": true
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"id": "matches-matches-astral-length-counts-code-points",
|
|
437
|
+
"input": "a🧬b",
|
|
438
|
+
"pattern": "(?s)^.{3}$",
|
|
439
|
+
"expected": true
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"id": "matches-matches-astral-single-dot",
|
|
443
|
+
"input": "🧬",
|
|
444
|
+
"pattern": "^.$",
|
|
445
|
+
"expected": true
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"id": "matches-matches-astral-min-length-lowering",
|
|
449
|
+
"input": "a🧬b",
|
|
450
|
+
"pattern": "(?s)^.{4,}$",
|
|
451
|
+
"expected": false
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"id": "matches-matches-bare-literal-brace-outside-subset",
|
|
455
|
+
"input": "a{b",
|
|
456
|
+
"pattern": "a{b",
|
|
457
|
+
"expectError": true
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"id": "matches-matches-digit-shorthand-is-ascii",
|
|
461
|
+
"input": "١٢٣",
|
|
462
|
+
"pattern": "^\\d+$",
|
|
463
|
+
"expected": false
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "matches-matches-space-shorthand-is-ascii",
|
|
467
|
+
"input": " ",
|
|
468
|
+
"pattern": "^\\s$",
|
|
469
|
+
"expected": false
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"id": "matches-matches-word-boundary-is-ascii",
|
|
473
|
+
"input": "a é b",
|
|
474
|
+
"pattern": "\\bé",
|
|
475
|
+
"expected": false
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"id": "matches-matches-shorthand-in-class-expands",
|
|
479
|
+
"input": "12-34",
|
|
480
|
+
"pattern": "^[\\d-]+$",
|
|
481
|
+
"expected": true
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"id": "matches-matches-negated-shorthand-in-class-outside-subset",
|
|
485
|
+
"input": "a",
|
|
486
|
+
"pattern": "[\\D]",
|
|
487
|
+
"expectError": true
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"id": "matches-matches-class-b-escape-outside-subset",
|
|
491
|
+
"input": "a",
|
|
492
|
+
"pattern": "[\\b]",
|
|
493
|
+
"expectError": true
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"id": "matches-matches-dot-matches-carriage-return",
|
|
497
|
+
"input": "\r",
|
|
498
|
+
"pattern": "^.$",
|
|
499
|
+
"expected": true
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"id": "matches-matches-vertical-tab-escape",
|
|
503
|
+
"input": "\u000b",
|
|
504
|
+
"pattern": "^\\v$",
|
|
505
|
+
"expected": true
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"id": "matches-matches-case-fold-is-unicode",
|
|
509
|
+
"input": "É",
|
|
510
|
+
"pattern": "(?i)é",
|
|
511
|
+
"expected": true
|
|
512
|
+
}
|
|
513
|
+
]
|
|
514
|
+
}
|