Function: web-mode-dom-rsf

web-mode-dom-rsf is a natively compiled function defined in web-mode.el.

Signature

(web-mode-dom-rsf REGEXP &optional LIMIT NOERROR)

Source Code

;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defun web-mode-dom-rsf (regexp &optional limit noerror)
  (unless noerror (setq noerror t))
  (let ((continue t) (ret nil))
    (while continue
      (setq ret (re-search-forward regexp limit noerror))
      ;;      (message "ret=%S point=%S limit=%S i=%S" ret (point) limit 0)
      (cond
        ((null ret)
         (setq continue nil))
        ((or (get-text-property (match-beginning 0) 'block-side)
             (get-text-property (match-beginning 0) 'part-token))
         )
        (t
         (setq continue nil))
        ) ;cond
      ) ;while
    ret))