Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing cronvalidator to use more robust regular expressions (#129)
* Changing cron-validator to use a more streamlined approach with better targeting regexes Original regexes from https://stackoverflow.com/a/57639657/10139735 Signed-off-by: Adam Mellen <github@mellen.io> * Consistent formatting - changes look odd in GitHub web view Signed-off-by: Adam Mellen <github@mellen.io> * Update cron-validator to reference CRON_REGEXES * Ensure the whole expression is valid * Allow empty value * Rewrite expression to pass all provided examples --------- Signed-off-by: Adam Mellen <github@mellen.io> Co-authored-by: Dan Wallis <dan@wallis.nz>
- Loading branch information