Variable: tramp-completion-file-name-regexp-simplified

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

Value

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

Documentation

Value for tramp-completion-file-name-regexp for simplified style remoting.

See tramp-file-name-structure for more explanations.

On W32 systems, the volume letter must be ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defconst tramp-completion-file-name-regexp-simplified
  (concat
   "\\`"
   ;; Allow the volume letter at the beginning of the path.  See the
   ;; comment in `tramp-completion-file-name-regexp-default' for more
   ;; details.
   (when (eq system-type 'windows-nt)
     "\\(?:[[:alpha:]]:\\)?")
   "/\\("
   ;; Optional multi hop.
   "\\([^/|:]*|\\)*"
   ;; Last hop.
   (if (memq system-type '(cygwin windows-nt))
       ;; At least two characters.
       "[^/|:]\\{2,\\}"
     ;; At least one character.
     "[^/|:]+")
   "\\)?\\'")
  "Value for `tramp-completion-file-name-regexp' for simplified style remoting.
See `tramp-file-name-structure' for more explanations.

On W32 systems, the volume letter must be ignored.")