From: Richard M. Stallman Date: Mon, 19 Jan 1998 20:29:31 +0000 (+0000) Subject: (dired-move-to-filename-regexp): X-Git-Tag: emacs-20.3~2390 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2708e59e80d7fc12b3e9b9785fd29760fe45c197;p=emacs.git (dired-move-to-filename-regexp): Make l pattern match any non-ASCII char. --- diff --git a/lisp/dired.el b/lisp/dired.el index b69bd24f517..6c37eccfb9e 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1351,13 +1351,14 @@ DIR must be a directory name, not a file name." ;;; Functions for finding the file name in a dired buffer line. (defvar dired-move-to-filename-regexp - (let* ((l "[A-Za-z\xa0-\xff]") + (let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)") ;; In some locales, month abbreviations are as short as 2 letters, ;; and they can be padded on the right with spaces. (month (concat l l "+ *")) - ;; Recognize any non-ISO-8859 character. + ;; Recognize any non-ASCII character. ;; The purpose is to match a Kanji character. - (k "[^\x00-\xff]") + (k "[^\0-\177]") + ;; (k "[^\x00-\x7f\x80-\xff]") (s " ") (yyyy "[0-9][0-9][0-9][0-9]") (mm "[ 0-1][0-9]")