Function: projectile-todos--regexp

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

Signature

(projectile-todos--regexp KEYWORDS)

Documentation

Return the Emacs regexp matching any annotation keyword in KEYWORDS.

The keyword must begin at a word boundary and be followed by a colon, by whitespace or by the end of the line.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-todos--regexp (keywords)
  "Return the Emacs regexp matching any annotation keyword in KEYWORDS.
The keyword must begin at a word boundary and be followed by a colon, by
whitespace or by the end of the line."
  (concat "\\<" (regexp-opt keywords) "\\>\\(?::\\|[[:blank:]]\\|$\\)"))