From e58f7eb02dc7d537d7d0883755b8f42c57fed6f1 Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Wed, 8 May 2024 19:17:31 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20adjust=20regex=20to=20fix?= =?UTF-8?q?=20regex=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Ruck --- services/cron-jobs/import-plenary-minutes/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cron-jobs/import-plenary-minutes/src/index.ts b/services/cron-jobs/import-plenary-minutes/src/index.ts index f9b4143d5..0f2dc504f 100644 --- a/services/cron-jobs/import-plenary-minutes/src/index.ts +++ b/services/cron-jobs/import-plenary-minutes/src/index.ts @@ -34,7 +34,7 @@ const getPlenaryMinutes = (plenaryMinutes: cheerio.Cheerio, period: number): Ple plenaryMinutes.each((i, elem) => { // Parse Title const title = cheerio(elem).find('strong').text().trim(); - const regex = /Plenarprotokoll der (?\d{1,3}).*?dem (?.*?)$/gi; + const regex = /protokoll der (?\d{1,3}).*?dem (?.*?)$/gi; const match = regex.exec(title)!.groups as { meeting: string; date: string;