Function: ebrowse-list-of-matching-members

ebrowse-list-of-matching-members is a byte-compiled function defined in ebrowse.el.gz.

Signature

(ebrowse-list-of-matching-members MEMBERS REGEXP &optional NAME)

Documentation

Return a list of members in table MEMBERS matching REGEXP or NAME.

Both NAME and REGEXP may be nil in which case exact or regexp matches are not performed.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-list-of-matching-members (members regexp &optional name)
  "Return a list of members in table MEMBERS matching REGEXP or NAME.
Both NAME and REGEXP may be nil in which case exact or regexp matches
are not performed."
  (let (list)
    (when (or name regexp)
      (maphash (lambda (member-name _info)
		 (when (or (and name (string= name member-name))
			   (and regexp (string-match regexp member-name)))
		   (setq list (cons member-name list))))
	       members))
    list))