diff --git a/tww/tokenizer.py b/tww/tokenizer.py index e1c00c9..5f2d841 100644 --- a/tww/tokenizer.py +++ b/tww/tokenizer.py @@ -52,7 +52,7 @@ r_calendar_year = re.compile('(?:cal year|calendar year)\s*(.*)', flags=re.IGNOR r_calendar_month = re.compile('(?:calendar|cal|month|cal month|calendar month)\s*(.*)', flags=re.IGNORECASE) r_timezone_2 = re.compile('(?:timezone in|timezones in|tz in|timezone|timezones|tz)\s(.*)?', flags=re.IGNORECASE) r_timezone_cities = re.compile('(?:cities with timezones|countries with timezones|cities with tz|countries with tz)\s(.*)?', flags=re.IGNORECASE) -r_weeknum = re.compile('(?:week number|week num|weeknum|week)\s(.*)?', flags=re.IGNORECASE) +r_weeknum = re.compile('(?:week number|week num|weeknum|week)', flags=re.IGNORECASE) def handler_time_now_local():