mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-05 04:15:38 +00:00
19 lines
463 B
JSON
19 lines
463 B
JSON
|
[
|
||
|
{
|
||
|
"description": "ECMA 262 regex dialect recognition",
|
||
|
"schema": { "format": "regex" },
|
||
|
"tests": [
|
||
|
{
|
||
|
"description": "[^] is a valid regex",
|
||
|
"data": "[^]",
|
||
|
"valid": true
|
||
|
},
|
||
|
{
|
||
|
"description": "ECMA 262 has no support for lookbehind",
|
||
|
"data": "(?<=foo)bar",
|
||
|
"valid": false
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|