Function: gnus-grep-in-list
gnus-grep-in-list is a byte-compiled function defined in
gnus-util.el.gz.
Signature
(gnus-grep-in-list WORD LIST)
Documentation
Find if a WORD matches any regular expression in the given LIST.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defun gnus-grep-in-list (word list)
"Find if a WORD matches any regular expression in the given LIST."
(when (and word list)
(catch 'found
(dolist (r list)
(when (string-match r word)
(throw 'found r))))))