Variable: ffap-url-regexp

ffap-url-regexp is a variable defined in ffap.el.gz.

Value

"\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|gemini\\|www\\|wais\\)://\\)"

Documentation

Regexp matching the beginning of a URI, for ffap.

If the value is nil, disable URL-matching features in ffap.

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defvar ffap-url-regexp
  (concat
   "\\("
   "news\\(post\\)?:\\|mailto:\\|file:" ; no host ok
   "\\|"
   "\\(ftp\\|https?\\|telnet\\|gopher\\|gemini\\|www\\|wais\\)://" ; needs host
   "\\)")
  "Regexp matching the beginning of a URI, for ffap.
If the value is nil, disable URL-matching features in ffap.")