Closed mnahkies closed 5 months ago
adds support for the validation keywords defined for strings in https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#section-6.3
originally I tried to create /RegExp literals/ but this didn't work for the test harness with joi due to https://github.com/nodejs/node/issues/2503#issuecomment-133842814 and a reliance on pattern instanceof RegExp check that joi makes.
/RegExp literals/
joi
pattern instanceof RegExp
adds support for the validation keywords defined for strings in https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#section-6.3
originally I tried to create
/RegExp literals/
but this didn't work for the test harness withjoi
due to https://github.com/nodejs/node/issues/2503#issuecomment-133842814 and a reliance onpattern instanceof RegExp
check thatjoi
makes.