Variable: tramp-autoload-file-name-regexp

tramp-autoload-file-name-regexp is a variable defined in tramp.el.gz.

Value

"\\`/[^/|:]+:"

Documentation

Regular expression matching file names handled by Tramp autoload.

It must match the initial tramp-syntax settings. It should not match file names at root of the underlying local file system, like "/sys" or "/C:".

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;;;###autoload
(defconst tramp-autoload-file-name-regexp
  (concat
   "\\`/"
   (if (memq system-type '(cygwin windows-nt))
       ;; The method is either "-", or at least two characters.
       "\\(-\\|[^/|:]\\{2,\\}\\)"
     ;; At least one character for method.
     "[^/|:]+")
   ":")
  "Regular expression matching file names handled by Tramp autoload.
It must match the initial `tramp-syntax' settings.  It should not
match file names at root of the underlying local file system,
like \"/sys\" or \"/C:\".")