Function: projectile-replace--effective-regexp

projectile-replace--effective-regexp is a byte-compiled function defined in projectile.el.

Signature

(projectile-replace--effective-regexp REGEXP)

Documentation

Return REGEXP as the current results buffer will actually match it.

Fences it with word boundaries when projectile-replace--word is set, otherwise returns REGEXP unchanged.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--effective-regexp (regexp)
  "Return REGEXP as the current results buffer will actually match it.
Fences it with word boundaries when `projectile-replace--word' is set,
otherwise returns REGEXP unchanged."
  (if projectile-replace--word
      (projectile-replace--word-boundary-regexp regexp)
    regexp))