comparison 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
comparison
equal deleted inserted replaced
102067:c1697dc8f121 102068:e22cfe7e0065
49 :version "23.1") 49 :version "23.1")
50 50
51 (defcustom copyright-regexp 51 (defcustom copyright-regexp
52 "\\(©\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ 52 "\\(©\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
53 \\|[Cc]opyright\\s *:?\\s *©\\)\ 53 \\|[Cc]opyright\\s *:?\\s *©\\)\
54 \\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" 54 \\s *\\(?:[^0-9\n]*\\s *\\)?\
55 \\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
55 "What your copyright notice looks like. 56 "What your copyright notice looks like.
56 The second \\( \\) construct must match the years." 57 The second \\( \\) construct must match the years."
57 :group 'copyright 58 :group 'copyright
58 :type 'regexp) 59 :type 'regexp)
59 60