summaryrefslogtreecommitdiff
path: root/lisp/ange-ftp.el
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
commit5a908498572c760273ce9773142968f59be81823 (patch)
tree8e788a4ce46db01d81611c2bad09d402a645a661 /lisp/ange-ftp.el
parent4ab19eb30d8d6b1228fceb689226328e5d559442 (diff)
downloademacs-5a908498572c760273ce9773142968f59be81823.tar.gz
(ange-ftp-date-regexp): Recognize various languages.
Diffstat (limited to 'lisp/ange-ftp.el')
-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.