aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/mail-extr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index ab3545b66df..7a58699e095 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -299,7 +299,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
299;; You will also notice the consideration for the 299;; You will also notice the consideration for the
300;; Swedish/Finnish/Norwegian character set. 300;; Swedish/Finnish/Norwegian character set.
301(defconst mail-extr-all-letters-but-separators 301(defconst mail-extr-all-letters-but-separators
302 (purecopy "][A-Za-z{|}'~0-9`\240-\377")) 302 (purecopy "][[:alnum:]{|}'~`"))
303 303
304;; Any character that can occur in a name in an RFC822 address including 304;; Any character that can occur in a name in an RFC822 address including
305;; the separator (hyphen and possibly period) for multipart names. 305;; the separator (hyphen and possibly period) for multipart names.
@@ -309,11 +309,11 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
309 309
310;; Any character that can start a name. 310;; Any character that can start a name.
311;; Keep this set as minimal as possible. 311;; Keep this set as minimal as possible.
312(defconst mail-extr-first-letters (purecopy "A-Za-z\240-\377")) 312(defconst mail-extr-first-letters (purecopy "[:alpha:]"))
313 313
314;; Any character that can end a name. 314;; Any character that can end a name.
315;; Keep this set as minimal as possible. 315;; Keep this set as minimal as possible.
316(defconst mail-extr-last-letters (purecopy "A-Za-z\240-\377`'.")) 316(defconst mail-extr-last-letters (purecopy "[:alpha:]`'."))
317 317
318(defconst mail-extr-leading-garbage 318(defconst mail-extr-leading-garbage
319 (purecopy (format "[^%s]+" mail-extr-first-letters))) 319 (purecopy (format "[^%s]+" mail-extr-first-letters)))