Tweak copyright-regexp
Tweaked to match copyright statements where the years follow the name. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1549
This commit is contained in:
parent
f0d129c6d6
commit
24a517fc67
2 changed files with 7 additions and 1 deletions
|
@ -51,7 +51,8 @@ This is useful for ChangeLogs."
|
|||
(defcustom copyright-regexp
|
||||
"\\(©\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
|
||||
\\|[Cc]opyright\\s *:?\\s *©\\)\
|
||||
\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
|
||||
\\s *\\(?:[^0-9\n]*\\s *\\)?\
|
||||
\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
|
||||
"What your copyright notice looks like.
|
||||
The second \\( \\) construct must match the years."
|
||||
:group 'copyright
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue