Function: projectile-todos--rg-pattern

projectile-todos--rg-pattern is a byte-compiled function defined in projectile.el.

Signature

(projectile-todos--rg-pattern KEYWORDS)

Documentation

Return the ripgrep-syntax equivalent of projectile-todos--regexp.

KEYWORDS is the list of annotation keywords to match.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-todos--rg-pattern (keywords)
  "Return the ripgrep-syntax equivalent of `projectile-todos--regexp'.
KEYWORDS is the list of annotation keywords to match."
  (concat "\\b(?:"
          (mapconcat #'projectile-todos--rg-quote keywords "|")
          ")\\b(?::|[[:blank:]]|$)"))