Function: projectile-replace--file-matches-p

projectile-replace--file-matches-p is a byte-compiled function defined in projectile.el.

Signature

(projectile-replace--file-matches-p M REGEXP)

Documentation

Return non-nil when match M's project-relative file matches REGEXP.

Honors the buffer's case setting.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--file-matches-p (m regexp)
  "Return non-nil when match M's project-relative file matches REGEXP.
Honors the buffer's case setting."
  (let ((case-fold-search projectile-replace--case-fold))
    (string-match-p regexp
                    (file-relative-name (projectile-replace--match-file m)
                                        projectile-replace--root))))