changeset 28737:fcd4ecfbaafe

(dired-move-to-filename-regexp): Allow format where YYYY is followed by two spaces.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 27 Apr 2000 18:53:44 +0000
parents fc66690cf3f2
children d53c2c6bc56f
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Thu Apr 27 17:02:42 2000 +0000
+++ b/lisp/dired.el	Thu Apr 27 18:53:44 2000 +0000
@@ -1486,8 +1486,10 @@
 	 (western (concat "\\(" month s dd "\\|" dd s month "\\)"
          ;; weiand: changed: year potentially unaligned
 ;;old			  s "\\(" HH:MM "\\|" s yyyy "\\|" yyyy s "\\)"))
-			  s "\\(" HH:MM "\\|" s "?" yyyy "\\|" yyyy s
-"\\)"))
+			  s "\\(" HH:MM 
+			          "\\|" yyyy s s "?"
+			          "\\|" s "?" yyyy
+			     "\\)"))
 	 (japanese (concat mm k s dd k s "\\(" s HH:MM "\\|" yyyy k "\\)")))
 	 ;; The "[0-9]" below requires the previous column to end in a digit.
 	 ;; This avoids recognizing `1 may 1997' as a date in the line: