Commit 86265518 authored by Karl Fogel's avatar Karl Fogel
Browse files

* thingatpt.el (thing-at-point-email-regexp): Don't require two chars

  before the "@" in an email address.  Andreas Roehler noticed this problem.
parent baef4cbe
2007-06-16 Karl Fogel <kfogel@red-bean.com>
* thingatpt.el (thing-at-point-email-regexp): Don't require two
chars before the "@" in an email address. Andreas Roehler noticed
this problem.
2007-06-15 Karl Fogel <kfogel@red-bean.com> 2007-06-15 Karl Fogel <kfogel@red-bean.com>
* thingatpt.el: Add support for email addresses (`email'). * thingatpt.el: Add support for email addresses (`email').
......
...@@ -342,7 +342,7 @@ point." ...@@ -342,7 +342,7 @@ point."
;; Email addresses ;; Email addresses
(defvar thing-at-point-email-regexp (defvar thing-at-point-email-regexp
"<?[-+_.~a-zA-Z][-+_.~:a-zA-Z0-9]+@[-.a-zA-Z0-9]+>?" "<?[-+_.~a-zA-Z][-+_.~:a-zA-Z0-9]*@[-.a-zA-Z0-9]+>?"
"A regular expression probably matching an email address. "A regular expression probably matching an email address.
This does not match the real name portion, only the address, optionally This does not match the real name portion, only the address, optionally
with angle brackets.") with angle brackets.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment