changeset 20079:c6c891d8f584

(dired-move-to-filename-regexp): Accept month name and day-of-month in either order.
author Karl Heuer <kwzh@gnu.org>
date Thu, 16 Oct 1997 18:36:35 +0000
parents 0fc1437e7427
children 52fbf5fad62e
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Thu Oct 16 18:35:17 1997 +0000
+++ b/lisp/dired.el	Thu Oct 16 18:36:35 1997 +0000
@@ -1351,9 +1351,11 @@
 ;;; 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]\\([^ ]\\)"