Function: hyrolo-r-not

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

Signature

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

Documentation

Logical regexp <not> 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
;; Work with regular expression patterns rather than strings

(defun hyrolo-r-not (start end &rest pat-list)
  "Logical regexp <not> 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."
  (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)))
      (not pat-list))))