Mercurial > emacs
diff lisp/emacs-lisp/copyright.el @ 102068:e22cfe7e0065
Tweak copyright-regexp
Tweaked to match copyright statements where the years follow the name.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1549
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 17 Feb 2009 10:13:59 +0000 |
parents | 0fb11e475237 |
children | ab3de87ae5a3 |
line wrap: on
line diff
--- a/lisp/emacs-lisp/copyright.el Tue Feb 17 07:14:11 2009 +0000 +++ b/lisp/emacs-lisp/copyright.el Tue Feb 17 10:13:59 2009 +0000 @@ -51,7 +51,8 @@ (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