ES-DE/external/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json

19 lines
463 B
JSON
Raw Normal View History

[
{
"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
}
]
}
]