diff options
Diffstat (limited to 'src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json')
-rw-r--r-- | src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json b/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json new file mode 100644 index 000000000..03fe97724 --- /dev/null +++ b/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json @@ -0,0 +1,18 @@ +[ + { + "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 + } + ] + } +] |