We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f3884 commit 6cc1f48Copy full SHA for 6cc1f48
src/CronLint.php
@@ -150,8 +150,8 @@ function ($v) {
150
151
$regEx = [
152
'minhour' => '/^([\*|\d]+)$|^([\*|\d]+?(\-\d+))$|^([\*]\/\d+)$|^([\d+]\/\d+?(\-\d+))$|^(\d+-\d+\/[\d]+)$/i',
153
- 'daymonth' => '/^(\d|\*)$/i',
154
- 'month' => '/^(\d|\*)$/i',
+ 'daymonth' => '/^(\d{1,2}|\*)$/i',
+ 'month' => '/^(\d{1,2}|\*)$/i',
155
'dayweek' => '/^(\*|\d|[a-z]{3})$/i',
156
'cmdoverflow' => '/^(\d|\*)$/i'
157
];
0 commit comments