From 4ddc28e7744029ab14bfb1365ebd6a785d1baf44 Mon Sep 17 00:00:00 2001 From: Marc Koch Date: Tue, 17 Sep 2024 14:29:31 +0200 Subject: [PATCH] fix regex The regex in config.yaml doesn't need to be escaped twice. --- src/cgnappointments/config_template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgnappointments/config_template.yaml b/src/cgnappointments/config_template.yaml index 601be69..bad8e50 100644 --- a/src/cgnappointments/config_template.yaml +++ b/src/cgnappointments/config_template.yaml @@ -18,7 +18,7 @@ locations: csv_name: 'appointments.csv' # Regex to extract the date from the website -date_regex: '(\\d{2}\\.\\d{2}\\.\\d{4}\\s\\d{2}:\\d{2})' +date_regex: '(\d{2}\.\d{2}\.\d{4}\s\d{2}:\d{2})' # Date format to store the date in the CSV file (should match the date_regex) date_format: '%d.%m.%Y %H:%M'