diff options
author | Dave Love <fx@gnu.org> | 2000-08-15 14:22:21 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-08-15 14:22:21 +0000 |
commit | d18243f56589921c18ab6fbe4971a9b94588666a (patch) | |
tree | ebb585d98aae938129313e4d29fab9e623aeefd2 /lisp/thingatpt.el | |
parent | 23652376ac68456c68d08bf4c3f913a0ca9f5055 (diff) | |
download | emacs-d18243f56589921c18ab6fbe4971a9b94588666a.tar.gz |
(thing-at-point-url-regexp): Prepend `\<'.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r-- | lisp/thingatpt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index da51774958c..9f8c3bdb8a8 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -215,7 +215,7 @@ Hostname matching is stricter in this case than for (defvar thing-at-point-url-regexp (concat - "\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mailto:\\)" + "\\<\\(https?://\\|ftp://\\|gopher://\\|telnet://\\|wais://\\|file:/\\|s?news:\\|mailto:\\)" thing-at-point-url-path-regexp) "A regular expression probably matching a complete URL.") |