mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
Tune `tramp-completion-file-name-regexp-unified'
* lisp/net/tramp.el (tramp-completion-file-name-regexp-unified): Extend this regexp to match also "/".
This commit is contained in:
parent
0f3d1b7823
commit
19a04b4c32
@ -879,7 +879,7 @@ initial value is overwritten by the car of `tramp-file-name-structure'.")
|
||||
;;;###autoload
|
||||
(defconst tramp-completion-file-name-regexp-unified
|
||||
(concat
|
||||
"\\`"
|
||||
"\\`/\\("
|
||||
;; Optional multi hop.
|
||||
"\\([^/|:]+:[^/|:]*|\\)*"
|
||||
;; Last hop.
|
||||
@ -890,7 +890,7 @@ initial value is overwritten by the car of `tramp-file-name-structure'.")
|
||||
"[^/|:]+")
|
||||
;; Method separator, user name and host name.
|
||||
"\\(:[^/|:]*\\)?"
|
||||
"\\'")
|
||||
"\\)?\\'")
|
||||
"Value for `tramp-completion-file-name-regexp' for unified remoting.
|
||||
See `tramp-file-name-structure' for more explanations.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user