Function: tramp-parse-putty-group
tramp-parse-putty-group is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-parse-putty-group REGISTRY)
Documentation
Return a (user host) tuple allowed to access.
User is always nil.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-parse-putty-group (registry)
"Return a (user host) tuple allowed to access.
User is always nil."
(let (result
(regexp (rx (literal registry) "\\" (group (+ nonl)))))
(when (search-forward-regexp regexp (line-end-position) t)
(setq result (list nil (match-string 1))))
(forward-line 1)
result))