Skip to content

Commit 54b2309

Browse files
committed
Do not detect trailing Distributed in copyright #3735
Reported-by: Dimitris Iliou @dimitris-iliou Reference: #3735 Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent c206f91 commit 54b2309

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/cluecode/copyrights.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,7 @@ def build_detection_from_node(
12511251
(r'^Extended', 'NN'),
12521252
(r'^Every$', 'NN'),
12531253
(r'^Digitized', 'NN'),
1254+
(r'^[Ds]istributed?.?$', 'NN'),
12541255
(r'^END$', 'NN'),
12551256
(r'^Entity$', 'NN'),
12561257
(r'^Example', 'NN'),
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
i// Copyright 2008-2010 Gordon Woodhull
2+
// Distributed under the Boost Software License, Version 1.0.
3+
4+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
what:
2+
- copyrights
3+
- holders
4+
copyrights:
5+
- Copyright 2008-2010 Gordon Woodhull
6+
holders:
7+
- Gordon Woodhull

0 commit comments

Comments
 (0)