fix regex
This commit is contained in:
parent
1004769e80
commit
4ebfa44950
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ config = load_config()
|
|||
RE_STRING = re.compile( # https://regex101.com/r/ELsqrO/1
|
||||
r"(L-[0-9]{4}): " # room number (group 1)
|
||||
# time-slot (group 2,3,4 - group 5,6,7)
|
||||
r"([1-12]{1,2}):([0,3]{2})(am|pm) - ([1-12]{1,2}):([0,3]{2})(am|pm), "
|
||||
r"([1-9]{1,2}):([0,3]{2})(am|pm) - ([1-9]{1,2}):([0,3]{2})(am|pm), "
|
||||
# weekday (group 8)
|
||||
r"(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), "
|
||||
# month (group 9)
|
||||
|
|
Loading…
Reference in a new issue