github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft3/optional/format/regex.json (about)

     1  [
     2      {
     3          "description": "validation of regular expressions",
     4          "schema": { "format": "regex" },
     5          "tests": [
     6              {
     7                  "description": "a valid regular expression",
     8                  "data": "([abc])+\\s+$",
     9                  "valid": true
    10              },
    11              {
    12                  "description": "a regular expression with unclosed parens is invalid",
    13                  "data": "^(abc]",
    14                  "valid": false
    15              }
    16          ]
    17      }
    18  ]