Skip to content

Commit b40e69e

Browse files
committed
Recognize copyright statements
1 parent 77a21a4 commit b40e69e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/spelling/candidate.patterns

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# cspell inline
88
^.*\b[Cc][Ss][Pp][Ee][Ll]{2}:\s*[Dd][Ii][Ss][Aa][Bb][Ll][Ee]-[Ll][Ii][Nn][Ee]\b
99

10+
# copyright
11+
Copyright (?:\([Cc]\)|)(?:[-\d, ]|and)+(?: [A-Z][a-z]+ [A-Z][a-z]+,?)+
12+
1013
# patch hunk comments
1114
^@@ -\d+(?:,\d+|) \+\d+(?:,\d+|) @@ .*
1215
# git index header

0 commit comments

Comments
 (0)