diff options
| author | Gerd Moellmann | 1999-09-24 12:57:17 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-24 12:57:17 +0000 |
| commit | e6b6d5c10328d66ce1819a8d9a77e30f02e60e6a (patch) | |
| tree | 1c484cde6b522842a402ee861fee4f426e301ca9 | |
| parent | 8b12dca91443fe2a59644d4d42862d573f604e4d (diff) | |
| download | emacs-e6b6d5c10328d66ce1819a8d9a77e30f02e60e6a.tar.gz emacs-e6b6d5c10328d66ce1819a8d9a77e30f02e60e6a.zip | |
(ange-ftp-date-regexp): Make it work for
LANG=de_DE.iso88591 on HPUX 11.0.
| -rw-r--r-- | lisp/ange-ftp.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 43bdd2e306a..e8f9b35511e 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -2529,13 +2529,17 @@ away in the internal cache." | |||
| 2529 | (let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)") | 2529 | (let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)") |
| 2530 | ;; In some locales, month abbreviations are as short as 2 letters, | 2530 | ;; In some locales, month abbreviations are as short as 2 letters, |
| 2531 | ;; and they can be padded on the right with spaces. | 2531 | ;; and they can be padded on the right with spaces. |
| 2532 | (month (concat l l "+ *")) | 2532 | ;; weiand: changed: month ends with . or , or ., |
| 2533 | ;;old (month (concat l l "+ *")) | ||
| 2534 | (month (concat l l "+[.]?,? *")) | ||
| 2533 | ;; Recognize any non-ASCII character. | 2535 | ;; Recognize any non-ASCII character. |
| 2534 | ;; The purpose is to match a Kanji character. | 2536 | ;; The purpose is to match a Kanji character. |
| 2535 | (k "[^\0-\177]") | 2537 | (k "[^\0-\177]") |
| 2536 | (s " ") | 2538 | (s " ") |
| 2537 | (mm "[ 0-1][0-9]") | 2539 | (mm "[ 0-1][0-9]") |
| 2538 | (dd "[ 0-3][0-9]") | 2540 | ;; weiand: changed: day ends with . |
| 2541 | ;;old (dd "[ 0-3][0-9]") | ||
| 2542 | (dd "[ 0-3][0-9][.]?") | ||
| 2539 | (western (concat "\\(" month s dd "\\|" dd s month "\\)")) | 2543 | (western (concat "\\(" month s dd "\\|" dd s month "\\)")) |
| 2540 | (japanese (concat mm k s dd k))) | 2544 | (japanese (concat mm k s dd k))) |
| 2541 | ;; Require the previous column to end in a digit. | 2545 | ;; Require the previous column to end in a digit. |