From: Gerd Moellmann Date: Thu, 27 Apr 2000 18:53:44 +0000 (+0000) Subject: (dired-move-to-filename-regexp): Allow format where X-Git-Tag: emacs-pretest-21.0.90~4118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b20e965eff598c3c26fa342fbf21ce9634925ac9;p=emacs.git (dired-move-to-filename-regexp): Allow format where YYYY is followed by two spaces. --- diff --git a/lisp/dired.el b/lisp/dired.el index e9426d40288..1ed44e2f7b8 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1486,8 +1486,10 @@ DIR must be a directory name, not a file name." (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: