Function: projectile-replace--capture-groups

projectile-replace--capture-groups is a byte-compiled function defined in projectile.el.

Signature

(projectile-replace--capture-groups)

Documentation

Return the matched-group strings for the last search in this buffer.

Index 0 is the whole match; unmatched optional groups are nil.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--capture-groups ()
  "Return the matched-group strings for the last search in this buffer.
Index 0 is the whole match; unmatched optional groups are nil."
  (let ((n (/ (length (match-data)) 2))
        (groups nil))
    (dotimes (i n)
      (push (match-string i) groups))
    (nreverse groups)))