opencode/packages/codemode-rust/conformance/cases/std-regexp-exec.json

149 lines
1.6 KiB
JSON
Generated

{
"bindings": {},
"ok": true,
"value": [
[
"2024-05",
"2024",
"05"
],
3,
"on 2024-05 ok",
{
"y": "2024",
"m": "05"
},
[
[
3,
10
],
[
3,
7
],
[
8,
10
]
],
{
"y": [
3,
7
],
"m": [
8,
10
]
},
[
"a",
"b",
"c"
],
[
"a",
"b",
"c"
],
[
""
],
[],
[
"t",
"e"
],
[
"a",
"b",
"c"
],
"$<y>|$1|$0|x|$",
"a[b]c",
"bbb",
"aabbcc",
"a-1b-3c",
"Smith, John",
true,
2,
true,
3,
false,
0,
[
"foo",
"foo"
],
null,
1,
2,
-1,
[
[
"a1",
"1",
0
],
[
"b2",
"2",
2
],
[
"c3",
"3",
4
]
],
"/a\\/b/gi",
"y",
"x",
"a\\/b",
"(?:)",
true,
false,
true,
true,
true,
true,
true,
true,
2,
false,
[],
"{}",
"object",
true,
"[object RegExp]",
"héllo world",
2,
[
"😀",
"😀",
""
],
1,
2,
"\\x31a\\.b\\x2dc",
"a!b!c",
"a!b!c",
"TypeError",
"SyntaxError",
"TypeError",
"a[\"1\",\"1\",1,\"a1b2\",{\"d\":\"1\"}]b[\"2\",\"2\",3,\"a1b2\",{\"d\":\"2\"}]",
2,
true,
true,
true,
true,
6,
false,
0
],
"logs": [
"/ab+c/gi [/x/]"
],
"metadata": null
}