Closed takumakanari closed 8 years ago
Thanks for the pull request.
For day-of-the-month and month, 00
is not a valid value. This could be corrected by using a different regex for all cases. Instead of:
[0-9]|[1-5][0-9]|0[0-9]
[1-9]|[12][0-9]|3[01]|0[0-9]
...
use:
0?[0-9]|[1-5][0-9]
0?[1-9]|[12][0-9]|3[01]
...
@gorhill Thanks for your comment. I fixed the range of day-of-the-month/month and also fixed a regex for all. Could you review it?
Thanks.
This p-r makes that '0N' style in expression like '00-09' can be parsing as numeric value.