Function: denote--regexp-in-file-p
denote--regexp-in-file-p is a natively compiled function defined in
denote.el.
Signature
(denote--regexp-in-file-p REGEXP FILE)
Documentation
Return t if REGEXP matches in the FILE.
Source Code
;; Defined in /nix/store/yld6spsps5sfn9w4rjyhkvqlvdgsmvpq-emacs-packages-deps/share/emacs/site-lisp/elpa/denote-4.2.3/denote.el
(defun denote--regexp-in-file-p (regexp file)
"Return t if REGEXP matches in the FILE."
(denote--file-with-temp-buffer file
(re-search-forward regexp nil t 1)))