jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 58 forks source link

Custom keywords support? #90

Closed foobargeez closed 6 years ago

foobargeez commented 6 years ago

Hello, I am wondering if I can use pattern in a case insensitive way and I don't see an option. I see a similar requirement addressed in https://github.com/epoberezkin/ajv-keywords#regexp and was wondering if something similar could be added to JSON::Validator.

Thanks!

jhthorsen commented 6 years ago

What about ‘/(?i)whatever/‘ ?

jhthorsen commented 6 years ago

Closing this because because of inactivity and because I think my suggestion will work.