summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json
blob: 03fe97724c024a833948b65c23a2788df15eb273 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
            }
        ]
    }
]