korzio / djv

Dynamic JSON Schema Validator - Supports draft-04/06
https://www.npmjs.com/package/djv
MIT License
289 stars 31 forks source link

Issue 86: Correct the IPV4 regular expression #87

Open sonufarid opened 5 years ago

sonufarid commented 5 years ago

IPV4 regular expression needs to be corrected from: (\d?\d?\d){0,255} -> (\d){1,3} with other checks to ensure each quad is less than 255

korzio commented 5 years ago

@sonufarid Thanks a lot! I will review and release it soon!

sonufarid commented 5 years ago

@sonufarid Thanks a lot! I will review and release it soon!

Thank you @korzio . Big fan of the library 👍