From ceb9379c824521213a734f3c2dd1d9cb4625bb65 Mon Sep 17 00:00:00 2001 From: Floke Date: Wed, 2 Apr 2025 10:58:58 +0000 Subject: [PATCH] syntax fix --- brancheneinstufung.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brancheneinstufung.py b/brancheneinstufung.py index fcfa9b46..43ba867f 100644 --- a/brancheneinstufung.py +++ b/brancheneinstufung.py @@ -67,7 +67,7 @@ def normalize_company_name(name): ] pattern = r'\b(' + '|'.join(forms) + r')\b' normalized = re.sub(pattern, '', name, flags=re.IGNORECASE) - normalized = re.sub(r'[\-–]', ' ', normalized) + normalized = re.sub(r'[\-–]', ' ', normalized) normalized = re.sub(r'\s+', ' ', normalized).strip() return normalized.lower()