Function: hyrolo-next-regexp-match

hyrolo-next-regexp-match is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-next-regexp-match REGEXP)

Documentation

In a HyRolo source buffer, move past next non-file-header occurrence of REGEXP.

When found, return the match start position; otherwise, return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-next-regexp-match (regexp)
  "In a HyRolo source buffer, move past next non-file-header occurrence of REGEXP.
When found, return the match start position; otherwise, return nil."
  (let (found)
    (while (and (setq found (re-search-forward regexp nil t))
                (save-match-data (hyrolo-hdr-in-p)))
      (setq found nil))
    (when found (match-beginning 0))))