Function: hyrolo-isearch-for-regexp

hyrolo-isearch-for-regexp is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-isearch-for-regexp REGEXP FOLD-SEARCH-FLAG)

Documentation

Interactively search forward for the next occurrence of REGEXP.

When FOLD-SEARCH-FLAG is non-nil search ignores case. Then add characters to further narrow the search.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-isearch-for-regexp (regexp fold-search-flag)
  "Interactively search forward for the next occurrence of REGEXP.
When FOLD-SEARCH-FLAG is non-nil search ignores case.  Then add
characters to further narrow the search."
  (hyrolo-verify)
  (if (stringp regexp)
      (let ((case-fold-search fold-search-flag)
	    (insert-func (lambda () (insert regexp))))
	(unwind-protect
	    (progn (add-hook 'minibuffer-setup-hook insert-func 100)
		   (isearch-forward-regexp))
	  (remove-hook 'minibuffer-setup-hook insert-func)))
    (error "(hyrolo-isearch-for-regexp): 'regexp' must be a string, not: %s" regexp)))