summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-02-06 08:20:12 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-02-06 08:20:12 +0000
commit0952583ca8f60a3140ff75cf7f74d1f5ea56e330 (patch)
tree7327e4941e4bcc15af8b1dda6394266e1b7474ad /lisp/dired.el
parent4092b702c6906e3ec7bfdb8117272fb1e278d411 (diff)
downloademacs-0952583ca8f60a3140ff75cf7f74d1f5ea56e330.tar.gz
(dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index d15d80411f1..6261e6bb392 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1572,11 +1572,11 @@ DIR must be a directory name, not a file name."
;; 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:
;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README
- ;; The "[kMGTPEZY]?" below supports "ls -alh" output.
+ ;; The "[kKMGTPEZY]?" below supports "ls -alh" output.
;; The ".*" below finds the last match if there are multiple matches.
;; This avoids recognizing `jservice 10 1024' as a date in the line:
;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host
- (concat ".*[0-9][kMGTPEZY]?" s
+ (concat ".*[0-9][kKMGTPEZY]?" s
"\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)"
s "+"))
"Regular expression to match up to the file name in a directory listing.