Skip to content

Commit 1ec6cb1

Browse files
committed
fix(copyrights): Do not ignore secondary parenthesis
Signed-off-by: Helio Chissini de Castro <helio.chissini.de.castro@cariad.technology>
1 parent abd87fb commit 1ec6cb1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/cluecode/copyrights.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,9 +1234,6 @@ def build_detection_from_node(
12341234

12351235
(r"^[a-z].+\(s\)[\.,]?$", 'JUNK'),
12361236

1237-
# parens in the middle: for(var
1238-
(r"^[a-zA-Z]+[\)\(]+,?[\)\(]?[a-zA-Z]+[\.,]?$", 'JUNK'),
1239-
12401237
# single period
12411238
(r"^\.$", 'JUNK'),
12421239

0 commit comments

Comments
 (0)