Variable: ffap-ftp-sans-slash-regexp
ffap-ftp-sans-slash-regexp is a variable defined in ffap.el.gz.
Value
"\\`\\([^:@]+@[^:@]+:\\|[^@.:]+\\.[^@:]+:\\|[^:]+:[~/]\\)\\([^:]\\|\\'\\)"
Documentation
Strings matching this are coerced to FTP file names by ffap.
That is, ffap just prepends "/". Set to nil to disable.
Source Code
;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defvar ffap-ftp-sans-slash-regexp
(and
ffap-ftp-regexp
;; Note: by now, we know it is not an url.
;; Icky regexp avoids: default: 123: foo::bar cs:pub
;; It does match on: mic@cs: cs:/pub mathcs.emory.edu: (point at end)
"\\`\\([^:@]+@[^:@]+:\\|[^@.:]+\\.[^@:]+:\\|[^:]+:[~/]\\)\\([^:]\\|\\'\\)")
"Strings matching this are coerced to FTP file names by ffap.
That is, ffap just prepends \"/\". Set to nil to disable.")