cuelang.org/go@v0.13.0/encoding/jsonschema/testdata/txtar/perl_pattern.txtar (about)

     1  Invalid perl syntax should not result in failure when #strictFeatures
     2  isn't enabled.
     3  
     4  -- schema.json --
     5  {
     6      "$schema": "https://json-schema.org/draft/2020-12/schema",
     7      "pattern": "^(?![ \\t\\n]*\\(default(.*)\\))[\\s\\S]*"
     8  }
     9  -- out/decode/extract --
    10  @jsonschema(schema="https://json-schema.org/draft/2020-12/schema")
    11  
    12  _