From a27bb54beddb565669fd90cd151c6bb98bab509c Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Fri, 29 Apr 2022 02:03:58 +0200 Subject: [PATCH] s444356 --- run.py | 1 - 1 file changed, 1 deletion(-) diff --git a/run.py b/run.py index 6972f11..3bd1385 100644 --- a/run.py +++ b/run.py @@ -112,7 +112,6 @@ def clean_term(t): return term def find_part(l): - # regex = r'[A-Z][a-z]+\.*' # regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding)\b' regex = r'\b[A-Z]\w+(?:[ -]+?[A-Z]\w+?){0,2}[,\s]+(?i:inc|holding|corporation|corp|llc)\b' s = re.findall(regex, l)