changeset 20684:bc06250acf07

(dired-move-to-filename-regexp): Make l pattern match any non-ASCII char.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 Jan 1998 20:29:31 +0000
parents 5623c78a31e5
children 15a32cd96ea5
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Mon Jan 19 20:28:03 1998 +0000
+++ b/lisp/dired.el	Mon Jan 19 20:29:31 1998 +0000
@@ -1351,13 +1351,14 @@
 ;;; 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]")