From f44c13705f7749f95153296e66e2475e43399def Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 10 Jul 2005 17:19:28 +0000 Subject: [PATCH] (timezone-parse-date): Changed first regexp so it will not mistakenly match dates with no time zone. --- lisp/timezone.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/timezone.el b/lisp/timezone.el index cd6e3ce769f..692e2a682ce 100644 --- a/lisp/timezone.el +++ b/lisp/timezone.el @@ -149,7 +149,7 @@ Understands the following styles: (time nil) (zone nil)) ;This may be nil. (cond ((string-match - "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]*\\([-+a-zA-Z0-9]+\\)" date) + "\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9:]+\\)[ \t]+\\([-+a-zA-Z0-9]+\\)" date) ;; Styles: (1) and (2) with timezone and buggy timezone ;; This is most common in mail and news, ;; so it is worth trying first. -- 2.39.2