mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(goto-address-mail-regexp): Allow + in username.
This commit is contained in:
parent
3e5929af18
commit
138399e684
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user