mtdowling / cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/
MIT License
4.9k stars 336 forks source link

Some string masks that are validated and should not #141

Closed playmono closed 7 years ago

playmono commented 7 years ago

-1 1-2-3 -1 *

dragonmantank commented 7 years ago

Thanks for flagging these. I'm going to be going through all of the validation routines as the regex currently used are not really doing their job well.

dragonmantank commented 7 years ago

Corrected this with the new validation code and 6a81b0c9329b4d8bf2577c8f99fb804806735ff4

Thanks!