Function: hyrolo-r-or

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

Signature

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

Documentation

Logical regexp <or> 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-or (start end &rest pat-list)
  "Logical regexp <or> 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."
  (if (memq t pat-list)
      t
    (save-restriction
      (narrow-to-region start end)
      (let ((pat))
	(while (and pat-list
		    (or (null (setq pat (car pat-list)))
			(and (stringp pat)
			     (goto-char start)
			     (not (funcall hyrolo-next-match-function pat)))))
	  (setq pat-list (cdr pat-list)))
	(if pat-list t nil)))))