Function: tramp-parse-group

tramp-parse-group is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-parse-group REGEXP MATCH-LEVEL SKIP-CHARS)

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
;; Generic function.
(defun tramp-parse-group (regexp match-level skip-chars)
   "Return a (user host) tuple allowed to access.
User is always nil."
   (let (result)
     (when (search-forward-regexp regexp (line-end-position) t)
       (setq result (list nil (match-string match-level))))
     (or
      (> (skip-chars-forward skip-chars) 0)
      (forward-line 1))
     result))