xeipuuv / gojsonschema

An implementation of JSON Schema, draft v4 v6 & v7 - Go language
2.54k stars 355 forks source link

Does not support Negative Lookahead when using REGEX pattern validation #348

Closed jackmatt2 closed 2 years ago

jackmatt2 commented 2 years ago

Negative lookahead does not appear to be supported in the "pattern" key.

(?!...)
jackmatt2 commented 2 years ago

Looks like this is an issue with the golang regexp package and not necessarily an issue with this library.