summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-10-16 18:36:35 +0000
committerKarl Heuer <kwzh@gnu.org>1997-10-16 18:36:35 +0000
commit04dfd93e4a70af9f66fe81f2ab2b2059034385ab (patch)
tree5616517aaf8da4ecb2682b9f64c59294acf927bd /lisp
parent2dc8e5394726a30e60834bbae0ca6f5a700d068f (diff)
downloademacs-04dfd93e4a70af9f66fe81f2ab2b2059034385ab.tar.gz
(dired-move-to-filename-regexp):
Accept month name and day-of-month in either order.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 29d397ca56a..231d05018ca 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -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]\\([^ ]\\)"