1572 |
;; The "[0-9]" below requires the previous column to end in a digit. |
;; The "[0-9]" below requires the previous column to end in a digit. |
1573 |
;; This avoids recognizing `1 may 1997' as a date in the line: |
;; This avoids recognizing `1 may 1997' as a date in the line: |
1574 |
;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README |
;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README |
1575 |
;; The "[kMGTPEZY]?" below supports "ls -alh" output. |
;; The "[kKMGTPEZY]?" below supports "ls -alh" output. |
1576 |
;; The ".*" below finds the last match if there are multiple matches. |
;; The ".*" below finds the last match if there are multiple matches. |
1577 |
;; This avoids recognizing `jservice 10 1024' as a date in the line: |
;; This avoids recognizing `jservice 10 1024' as a date in the line: |
1578 |
;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host |
;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host |
1579 |
(concat ".*[0-9][kMGTPEZY]?" s |
(concat ".*[0-9][kKMGTPEZY]?" s |
1580 |
"\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" |
"\\(" western "\\|" western-comma "\\|" japanese "\\|" iso "\\)" |
1581 |
s "+")) |
s "+")) |
1582 |
"Regular expression to match up to the file name in a directory listing. |
"Regular expression to match up to the file name in a directory listing. |