[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in ange-ftp parsing of ls output
From: |
Kim F. Storm |
Subject: |
Bug in ange-ftp parsing of ls output |
Date: |
Wed, 19 Oct 2005 16:08:24 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
In CVS emacs:
I'm using redhat 9.0, whose ftp server identifies itself as
FTP server (Version 5.60) ready.
I've digged out the following line from the response to an
ls -al command:
-rw------- 1 kfs 0 May 27 2003 .autorun.lck
Now, if I position the cursor at the beginning of that line
and enter
M-: (ange-ftp-parse-filename) RET
it returns:
"27 2003 .autorun.lck"
If I do
M-: (re-search-forward ange-ftp-date-regexp nil t) RET
at that position, point moves to the "M" in May.
This is obviously wrong, but the ange-ftp-date-regexp is beyond me:
"[0-9] \\(\\(\\([A-Za-z]\\|[^ -]\\)\\([A-Za-z]\\|[^ -]\\)+[.]?,? * [
0-3][0-9][.]?\\|[ 0-3][0-9][.]?
\\([A-Za-z]\\|[^ -]\\)\\([A-Za-z]\\|[^ -]\\)+[.]?,? *\\)\\|[ 0-1][0-9][^ -]
[ 0-3][0-9][.]?[^ -]\\) "
If I change the line to
-rw------- 1 kfs 10 May 27 2003 .autorun.lck
it still fails, but this line works:
-rw------- 1 kfs 100 May 27 2003 .autorun.lck
What's going on?
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Bug in ange-ftp parsing of ls output,
Kim F. Storm <=
- Re: Bug in ange-ftp parsing of ls output, Michael Albinus, 2005/10/20
- Re: Bug in ange-ftp parsing of ls output, Stefan Monnier, 2005/10/20
- Re: Bug in ange-ftp parsing of ls output, Michael Albinus, 2005/10/21
- Re: Bug in ange-ftp parsing of ls output, Stefan Monnier, 2005/10/21
- Re: Bug in ange-ftp parsing of ls output, Richard M. Stallman, 2005/10/21
- Re: Bug in ange-ftp parsing of ls output, Michael Albinus, 2005/10/23
- Re: Bug in ange-ftp parsing of ls output, Richard M. Stallman, 2005/10/23
- Re: Bug in ange-ftp parsing of ls output, Michael Albinus, 2005/10/25