Closed WesTyler closed 7 years ago
Should handle Joi.string().regex() properly and return a string that matches the provided regex pattern.
Joi.string().regex()
This is not likely to be 100% coverage for all possible regex patterns, but basic support should at least be there.
Look at https://github.com/fent/randexp.js for implementation ideas.
Potential library choice here may be https://github.com/fent/randexp.js or similar.
Yep! That's the one I'm considering. :D
Should handle
Joi.string().regex()
properly and return a string that matches the provided regex pattern.This is not likely to be 100% coverage for all possible regex patterns, but basic support should at least be there.
Look at https://github.com/fent/randexp.js for implementation ideas.