From b20e965eff598c3c26fa342fbf21ce9634925ac9 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 27 Apr 2000 18:53:44 +0000 Subject: [PATCH] (dired-move-to-filename-regexp): Allow format where YYYY is followed by two spaces. --- lisp/dired.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: -- 2.39.5