update to tokenizer

This commit is contained in:
Daniel Tsvetkov 2022-09-02 16:38:36 +02:00
parent aae27e66c1
commit 2d317043fa

View File

@ -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():