summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-17 18:31:33 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-17 18:31:33 +0000
commitd66dba53e62b5f2d7411e8f94476bca2580ecb68 (patch)
treeda9e0398bfb48093581c2d2b6e770d277609838b /lisp
parent9158c05633aa15c5616ddaf465efdfdf7131c0df (diff)
downloademacs-d66dba53e62b5f2d7411e8f94476bca2580ecb68.tar.gz
(ange-ftp-date-regexp): Recognize various languages.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ange-ftp.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 2778e859ccb..137e63abd79 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -2389,9 +2389,10 @@ away in the internal cache."
;;;; ------------------------------------------------------------
(defconst ange-ftp-date-regexp
- (concat
- " \\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct"
- "\\|Nov\\|Dec\\) +[0-3]?[0-9] "))
+ " [A-Za-z\xa0-\xff][A-Za-z\xa0-\xff][A-Za-z\xa0-\xff] [0-3 ][0-9] "
+ "Regular expression to recognize the date in a directory listing.
+This regular expression is designed to recognize month names
+regardless of the language.")
(defvar ange-ftp-add-file-entry-alist nil
"Alist saying how to add file entries on certain OS types.