mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 08:35:39 +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
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|