Function: hyrolo-r-and

hyrolo-r-and is a byte-compiled function defined in hyrolo-logic.el.

Signature

(hyrolo-r-and START END &rest PAT-LIST)

Documentation

Logical regexp <and> rolo entry filter between START and END positions.

PAT-LIST is a list of pattern elements. Each element may be t, nil, or a regular expression.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo-logic.el
(defun hyrolo-r-and (start end &rest pat-list)
  "Logical regexp <and> rolo entry filter between START and END positions.
PAT-LIST is a list of pattern elements.  Each element may be t, nil, or a
regular expression."
  (unless (memq nil pat-list)
    (save-restriction
      (narrow-to-region start end)
      (let ((pat))
	(while (and pat-list
		    (setq pat (car pat-list))
		    (or (eq pat t)
			(not (goto-char start))
			(funcall hyrolo-next-match-function pat)))
	  (setq pat-list (cdr pat-list)))
	(not pat-list)))))