]> git.eshelyaron.com Git - emacs.git/commitdiff
(goto-address-mail-regexp): Allow + in username.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Oct 2001 23:40:35 +0000 (23:40 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Oct 2001 23:40:35 +0000 (23:40 +0000)
lisp/net/goto-addr.el

index 61c615b4aca4b63e569e297927385d00d31706b5..9cb91eb6c2e7cb85302c54a184fb845457adf54a 100644 (file)
@@ -98,7 +98,8 @@ But only if `goto-address-highlight-p' is also non-nil."
   :group 'goto-address)
 
 (defvar goto-address-mail-regexp
-  "[-a-zA-Z0-9._]+@\\([-a-zA-z0-9_]+\\.\\)+[a-zA-Z0-9]+"
+  ;; Actually pretty much any char could appear in the username part.  -stef
+  "[-a-zA-Z0-9._+]+@\\([-a-zA-z0-9_]+\\.\\)+[a-zA-Z0-9]+"
   "A regular expression probably matching an e-mail address.")
 
 (defvar goto-address-url-regexp thing-at-point-url-regexp