Commit b20e965e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(dired-move-to-filename-regexp): Allow format where

YYYY is followed by two spaces.
parent e3e36d74
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment