Mercurial > emacs
comparison lisp/dired.el @ 64590:d098d958b288
(dired-move-to-filename-regexp): Recognize the B suffix
of the file size (as in "177B" for 177 bytes). This happens with
"ls -lh" on FreeBSD.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 22 Jul 2005 09:54:45 +0000 |
parents | 733da358f853 |
children | 41bb365f41c4 890cc78a5a24 |
comparison
equal
deleted
inserted
replaced
64589:722ca9969d93 | 64590:d098d958b288 |
---|---|
1863 (concat mm l "?" s dd l "?" s "+" | 1863 (concat mm l "?" s dd l "?" s "+" |
1864 "\\(" HH:MM "\\|" yyyy l "?" "\\)"))) | 1864 "\\(" HH:MM "\\|" yyyy l "?" "\\)"))) |
1865 ;; The "[0-9]" below requires the previous column to end in a digit. | 1865 ;; The "[0-9]" below requires the previous column to end in a digit. |
1866 ;; This avoids recognizing `1 may 1997' as a date in the line: | 1866 ;; This avoids recognizing `1 may 1997' as a date in the line: |
1867 ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README | 1867 ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README |
1868 ;; The "[kKMGTPEZY]?" below supports "ls -alh" output. | 1868 ;; The "[BkKMGTPEZY]?" below supports "ls -alh" output. |
1869 ;; The ".*" below finds the last match if there are multiple matches. | 1869 ;; The ".*" below finds the last match if there are multiple matches. |
1870 ;; This avoids recognizing `jservice 10 1024' as a date in the line: | 1870 ;; This avoids recognizing `jservice 10 1024' as a date in the line: |
1871 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host | 1871 ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host |
1872 (concat ".*[0-9][kKMGTPEZY]?" s | 1872 (concat ".*[0-9][BkKMGTPEZY]?" s |
1873 "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" | 1873 "\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" |
1874 s "+")) | 1874 s "+")) |
1875 "Regular expression to match up to the file name in a directory listing. | 1875 "Regular expression to match up to the file name in a directory listing. |
1876 The default value is designed to recognize dates and times | 1876 The default value is designed to recognize dates and times |
1877 regardless of the language.") | 1877 regardless of the language.") |