]> git.eshelyaron.com Git - emacs.git/commitdiff
(thing-at-point-url-regexp): Prepend `\<'.
authorDave Love <fx@gnu.org>
Tue, 15 Aug 2000 14:22:21 +0000 (14:22 +0000)
committerDave Love <fx@gnu.org>
Tue, 15 Aug 2000 14:22:21 +0000 (14:22 +0000)
lisp/thingatpt.el

index da51774958c337db279376803817e669e2b7acd6..9f8c3bdb8a8c1c51566b47b45831d81aa64fd693 100644 (file)
@@ -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.")