comparison lisp/emacs-lisp/copyright.el @ 53507:edbcb3c5d4e3

allow / and *, too
author Karl Berry <karl@gnu.org>
date Mon, 05 Jan 2004 22:50:58 +0000
parents f657faa17ea1
children 22f1ac802ffd
comparison
equal deleted inserted replaced
53506:da21878fbce2 53507:edbcb3c5d4e3
46 ;; The character classes have the Latin-1 version and the Latin-9 46 ;; The character classes have the Latin-1 version and the Latin-9
47 ;; version, which is probably enough. 47 ;; version, which is probably enough.
48 (defcustom copyright-regexp 48 (defcustom copyright-regexp
49 "\\([]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ 49 "\\([]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
50 \\|[Cc]opyright\\s *:?\\s *[]\\)\ 50 \\|[Cc]opyright\\s *:?\\s *[]\\)\
51 \\s *\\([1-9]\\([-0-9, ';%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" 51 \\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
52 "*What your copyright notice looks like. 52 "*What your copyright notice looks like.
53 The second \\( \\) construct must match the years." 53 The second \\( \\) construct must match the years."
54 :group 'copyright 54 :group 'copyright
55 :type 'regexp) 55 :type 'regexp)
56 56