Variable: tramp-completion-file-name-regexp

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

Value

"\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'"

Documentation

Regular expression matching file names handled by Tramp completion.

This regexp should match partial Tramp file names only.

Please note that the entry in file-name-handler-alist is made when this file (tramp.el) is loaded. This means that this variable must be set before loading tramp.el. Alternatively, file-name-handler-alist can be updated after changing this variable.

Also see tramp-file-name-structure.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defvar tramp-completion-file-name-regexp
   nil ;Initialized when defining `tramp-syntax'!
  "Regular expression matching file names handled by Tramp completion.
This regexp should match partial Tramp file names only.

Please note that the entry in `file-name-handler-alist' is made when
this file \(tramp.el) is loaded.  This means that this variable must be set
before loading tramp.el.  Alternatively, `file-name-handler-alist' can be
updated after changing this variable.

Also see `tramp-file-name-structure'.")