File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
src/aws_cron_expression_validator Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11# Release History
22
3+ ### v1.1.11 [ 2024-02-08]
4+
5+ - Fixes;
6+ - [ Latest version 1.1.10 does not seem to work with Python 3.12] ( https://github.com/grumBit/aws_cron_expression_validator/issues/20 )
7+
38### v1.1.10 [ 2024-02-01]
49
510- Fixes;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " aws_cron_expression_validator"
7- version = " 1.1.10 "
7+ version = " 1.1.11 "
88authors = [
99 { name =" Graham Coster" , email =" bitjugglers@gmail.com" },
1010]
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ class AWSCronExpressionValidator:
5151 minute_values = r"(0?[0-9]|[1-5][0-9])" # [0]0-59
5252 hour_values = r"(0?[0-9]|1[0-9]|2[0-3])" # [0]0-23
5353 month_of_day_values = r"(0?[1-9]|[1-2][0-9]|3[0-1])" # [0]1-31
54- month_values = r"(?i)( 0?[1-9]|1[0-2]|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)" # [0]1-12 or JAN-DEC
55- day_of_week_values = r"(?i)( [1-7]|SUN|MON|TUE|WED|THU|FRI|SAT)" # 1-7 or SAT-SUN
54+ month_values = r"(?i: 0?[1-9]|1[0-2]|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)" # [0]1-12 or JAN-DEC
55+ day_of_week_values = r"(?i: [1-7]|SUN|MON|TUE|WED|THU|FRI|SAT)" # 1-7 or SAT-SUN
5656 day_of_week_hash = rf"({ day_of_week_values } #[1-5])" # Day of the week in the Nth week of the month
5757 year_values = r"((19[7-9][0-9])|(2[0-1][0-9][0-9]))" # 1970-2199
5858 natural_number = r"([0-9]*[1-9][0-9]*)" # Integers greater than 0
You can’t perform that action at this time.
0 commit comments