LspCpp/third_party/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json
raw| 1 | [ |
| 2 | { |
| 3 | "description": "ECMA 262 regex dialect recognition", |
| 4 | "schema": { "format": "regex" }, |
| 5 | "tests": [ |
| 6 | { |
| 7 | "description": "[^] is a valid regex", |
| 8 | "data": "[^]", |
| 9 | "valid": true |
| 10 | }, |
| 11 | { |
| 12 | "description": "ECMA 262 has no support for lookbehind", |
| 13 | "data": "(?<=foo)bar", |
| 14 | "valid": false |
| 15 | } |
| 16 | ] |
| 17 | } |
| 18 | ] |