diff options
| author | Richard M. Stallman | 2003-07-09 15:52:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-07-09 15:52:59 +0000 |
| commit | 60389964c5d004adebbf7f165e9eae38efca481c (patch) | |
| tree | 652ed01b73d792fff264c3c8d8b399acc04bb52c | |
| parent | 2410d73a13c00d0f1c0cfb3b1ef21a837a9100e3 (diff) | |
| download | emacs-60389964c5d004adebbf7f165e9eae38efca481c.tar.gz emacs-60389964c5d004adebbf7f165e9eae38efca481c.zip | |
(dired-move-to-filename-regexp): Allow quote in months.
| -rw-r--r-- | lisp/dired.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 78826a14657..e01299f5eba 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1565,9 +1565,11 @@ DIR must be a directory name, not a file name." | |||
| 1565 | 1565 | ||
| 1566 | (defvar dired-move-to-filename-regexp | 1566 | (defvar dired-move-to-filename-regexp |
| 1567 | (let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)") | 1567 | (let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)") |
| 1568 | (l-or-quote "\\([A-Za-z']\\|[^\0-\177]\\)") | ||
| 1568 | ;; In some locales, month abbreviations are as short as 2 letters, | 1569 | ;; In some locales, month abbreviations are as short as 2 letters, |
| 1569 | ;; and they can be followed by ".". | 1570 | ;; and they can be followed by ".". |
| 1570 | (month (concat l l "+\\.?")) | 1571 | ;; In Breton, a month name can include a quote character. |
| 1572 | (month (concat l-or-quote l-or-quote "+\\.?")) | ||
| 1571 | (s " ") | 1573 | (s " ") |
| 1572 | (yyyy "[0-9][0-9][0-9][0-9]") | 1574 | (yyyy "[0-9][0-9][0-9][0-9]") |
| 1573 | (dd "[ 0-3][0-9]") | 1575 | (dd "[ 0-3][0-9]") |