Skip to content

Commit b6eae56

Browse files
committed
Add new variants for university copyrights
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent e830934 commit b6eae56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cluecode/copyrights.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,8 @@ def build_detection_from_node(
19731973
(r'^[Bb]\.?[Vv]\.?|BVBA$', 'COMP'),
19741974
# university
19751975
(r'^\(?[Uu]niv(?:[\.]|ersit(?:y|e|at?|ad?))[\.,\)]*$', 'UNI'),
1976-
(r'^UNIVERSITY$', 'UNI'),
1976+
# university is often mispelled
1977+
(r'^(?i:UNIVERSITY|UNIVERISITY|UNIVERSTY|UNIVERSIY|UNIVERSTY|UNIVERISTY)$', 'UNI'),
19771978
(r'^College$', 'UNI'),
19781979
# Academia/ie
19791980
(r'^[Ac]cademi[ae]s?$', 'UNI'),

0 commit comments

Comments
 (0)