changeset 39790:1802ca573682

(goto-address-mail-regexp): Allow + in username.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 11 Oct 2001 23:40:35 +0000
parents e511f555920c
children b433b5996ddb
files lisp/net/goto-addr.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/goto-addr.el	Thu Oct 11 23:34:17 2001 +0000
+++ b/lisp/net/goto-addr.el	Thu Oct 11 23:40:35 2001 +0000
@@ -98,7 +98,8 @@
   :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