diff --git a/agenda/gwr.py b/agenda/gwr.py index 6924449..5806939 100644 --- a/agenda/gwr.py +++ b/agenda/gwr.py @@ -14,7 +14,7 @@ def extract_weekday_date(html: str) -> date | None: """Furthest date of GWR advance ticket booking.""" # Compile a regular expression pattern to match the relevant table row pattern = re.compile( - r"\s*Weekdays\s*(.*?)\s*", re.DOTALL + r"\s*Weekdays\s*(.*?)(?:\*\*)?\s*", re.DOTALL ) # Search the HTML for the pattern