# HG changeset patch # User Gerd Moellmann # Date 956861624 0 # Node ID fcd4ecfbaafeee364d5dcf87ce06e17bba32c18c # Parent fc66690cf3f21fae01f82cef25713a593d8151ad (dired-move-to-filename-regexp): Allow format where YYYY is followed by two spaces. diff -r fc66690cf3f2 -r fcd4ecfbaafe lisp/dired.el --- 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: