Skip to content

Commit 4b41354

Browse files
committed
Improve author detection
This is form of author with just a first name and email. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 41fd4b8 commit 4b41354

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/cluecode/copyrights.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,6 +2620,9 @@ def build_detection_from_node(
26202620
# author (Panagiotis Tsirigotis)
26212621
AUTHOR: {<AUTH> <NNP><NNP>+} #author Foo Bar
26222622
2623+
# Author: Tim (xtimor@gmail.com)
2624+
AUTHOR: {<AUTH> <NNP>+ <EMAIL>+} #Author Foo joe@email.com
2625+
26232626
26242627
#######################################
26252628
# Mixed AUTHOR and COPYRIGHT
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* NMEA library
2+
* URL: http://nmea.sourceforge.net
3+
* Author: Tim (xtimor@gmail.com)
4+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
what:
2+
- authors
3+
authors:
4+
- Tim (xtimor@gmail.com)

0 commit comments

Comments
 (0)