Skip to content

Commit 6a9663e

Browse files
committed
Detect OpenStreetMap correctly
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 97d0bcb commit 6a9663e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cluecode/copyrights.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,10 @@ def build_detection_from_node(
741741
(r'^Fu$', 'NNP'),
742742
(r'^W3C\(r\)$', 'COMP'),
743743

744+
# three or more AsCamelCase GetQueueReference, with some exceptions
745+
(r'^OpenStreetMap.?$', 'NAME'),
746+
(r'^([A-Z][a-z]+){3,}$', 'JUNK'),
747+
744748
############################################################################
745749
# JUNK proper
746750
############################################################################

0 commit comments

Comments
 (0)