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 0e9526e commit a7eadc0Copy full SHA for a7eadc0
func/main.sh
@@ -727,10 +727,11 @@ is_cron_format_valid() {
727
check_format='ok'
728
fi
729
730
- if [[ "$1" =~ ^[0-9][-|,|0-9]{0,28}[0-9]$ ]]; then
+ if [[ "$1" =~ ^[0-9][-|,|0-9]{0,70}[\/][0-9]$ ]]; then
731
732
crn_values=${1//,/ }
733
crn_values=${crn_values//-/ }
734
+ crn_values=${crn_values//\// }
735
for crn_vl in $crn_values; do
736
if [ "$crn_vl" -gt $limit ]; then
737
check_format='invalid'
0 commit comments