]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-move-to-filename-regexp):
authorKarl Heuer <kwzh@gnu.org>
Thu, 16 Oct 1997 18:36:35 +0000 (18:36 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 16 Oct 1997 18:36:35 +0000 (18:36 +0000)
Accept month name and day-of-month in either order.

lisp/dired.el

index 29d397ca56ab2806d3db0a1b140e1b60b063cc50..231d05018cadd87e9c4bc4db8a79d8a1cd45bb57 100644 (file)
@@ -1351,9 +1351,11 @@ DIR must be a directory name, not a file name."
 ;;; Functions for finding the file name in a dired buffer line.
 
 (defvar dired-move-to-filename-regexp
-  " [A-Za-z\xa0-\xff][A-Za-z\xa0-\xff][A-Za-z\xa0-\xff] [0-3 ][0-9]\
+  " \\([A-Za-z\xa0-\xff][A-Za-z\xa0-\xff][A-Za-z\xa0-\xff] [0-3 ][0-9]\
+\\|[0-3 ][0-9] [A-Za-z\xa0-\xff][A-Za-z\xa0-\xff][A-Za-z\xa0-\xff]\\)\
  [ 0-9][0-9][:0-9][0-9][ 0-9] "
-  "Regular expression to match a month abbreviation followed date/time.")
+  "Regular expression to match a month abbreviation and date/time.
+The month name and day-of-month are allowed in either order.")
 
 (defvar dired-permission-flags-regexp
   "\\([^ ]\\)[-r][-w]\\([^ ]\\)[-r][-w]\\([^ ]\\)[-r][-w]\\([^ ]\\)"