Docs
API 1.39
Status
Lint codes

E009

invalid regex / glob / JSONPath

Error: invalid regex / glob / JSONPath.

A version with this finding cannot be published.

#Example

The contract fixture E009-invalid-regex reports E009 at extract.sku.regex:

{
  "kaab": "1",
  "steps": [
    {
      "goto": "https://example.com/"
    }
  ],
  "extract": {
    "sku": {
      "regex": "SKU:\\s*([A-Z0-9-+"
    }
  }
}

Was this page helpful?