Gnus development mailing list
 help / color / mirror / Atom feed
* Fix to the copyright.el regexp to catch multi-line copyrights.
@ 2002-01-01  2:19 Lars Magne Ingebrigtsen
  2002-01-01  2:23 ` Lars Magne Ingebrigtsen
  2002-01-03 21:21 ` Daniel Pfeiffer
  0 siblings, 2 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-01  2:19 UTC (permalink / raw)
  Cc: ding

MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

The following patch allows things like the following to be
recognized:

;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996,=20
;;        1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.



--- copyright.el.~1~	Mon Jul 16 14:22:59 2001
+++ copyright.el	Tue Jan  1 03:16:41 2002
@@ -45,7 +45,7 @@
 (defcustom copyright-regexp
   "\\([\251=C2=81=C2=A9]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *(C)\
 \\|[Cc]opyright\\s *:?\\s *[\251=C2=81=C2=A9]\\)\
-\\s *\\([1-9][-0-9, ']*[0-9]+\\)"
+\\s *\\([1-9][-0-9, ';\n\t]*[0-9]+\\)"
   "*What your copyright notice looks like.
 The second \\( \\) construct must match the years."
   :group 'copyright

=20=20=20
--=20
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-04  4:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-01  2:19 Fix to the copyright.el regexp to catch multi-line copyrights Lars Magne Ingebrigtsen
2002-01-01  2:23 ` Lars Magne Ingebrigtsen
2002-01-03 21:21 ` Daniel Pfeiffer
2002-01-04  4:45   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).