# HG changeset patch # User Juanma Barranquero # Date 1044519566 0 # Node ID 2c79beda1333289de947942973adab65ea12f043 # Parent ee553544342bf7a273917049a36b8792b6b1c817 (dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output. diff -r ee553544342b -r 2c79beda1333 lisp/dired.el --- a/lisp/dired.el Thu Feb 06 08:19:03 2003 +0000 +++ b/lisp/dired.el Thu Feb 06 08:19:26 2003 +0000 @@ -1572,11 +1572,11 @@ ;; 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.