Skip to content

Commit

Permalink
lunch: remove space before comma
Browse files Browse the repository at this point in the history
  • Loading branch information
trnila committed Aug 1, 2024
1 parent a45adb6 commit fbf0d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lunches.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ async def gather_restaurants(allowed_restaurants=None):
(re.compile(r"\([^)]+\)"), ""),
(re.compile(r"(\s*[0-9]+\s*,)+\s*$"), ""),
(re.compile(r"A?\s*[0-9]+(,[0-9]+)*,? "), ""),
(re.compile(r"\s+,"), ","),
(re.compile(r" +"), " "),
]
UPPER_REGEXP = re.compile(r"[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]")
Expand Down

0 comments on commit fbf0d80

Please sign in to comment.