mame/3rdparty/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json
2016-03-31 20:40:36 +02:00

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
}
]
}
]