diff options
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 8f797d1310..a7ff23949f 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -235,7 +235,7 @@ a symbol as a valid THING." "A regular expression probably matching the host and filename or e-mail part of a URL.") (defvar thing-at-point-short-url-regexp - (concat "[-A-Za-z0-9.]+" thing-at-point-url-path-regexp) + (concat "[-A-Za-z0-9]+\\.[-A-Za-z0-9.]+" thing-at-point-url-path-regexp) "A regular expression probably matching a URL without an access scheme. Hostname matching is stricter in this case than for ``thing-at-point-url-regexp''.") |