From fac36754fde67815a07d9248684faa0485addb8a Mon Sep 17 00:00:00 2001 From: jzitnik-dev Date: Thu, 4 Sep 2025 09:03:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20"=C3=9Aklid"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scrape/parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape/parse.js b/scrape/parse.js index 04b3dda..9ca9e25 100644 --- a/scrape/parse.js +++ b/scrape/parse.js @@ -70,7 +70,7 @@ export default async function parseThisShit(downloadedFilePath) { let d = true; try { - const regex = /^úklid\s+\d+\s+[A-Za-z]{2}$/; + const regex = /^úklid\s+(?:\d+\s+)?[A-Za-z]{2}$/; if (regex.test(currentSheet[key]["w"].trim()) || currentSheet[key]["w"].trim().length == 0) { d = false; }