Variable: org-tag-line-re

org-tag-line-re is a variable defined in org.el.gz.

Value

"^\\*+ \\(?:.*[         ]\\)?\\(:\\([[:alnum:]_@#%:]+\\):\\)[   ]*$"

Documentation

Regexp matching tags in a headline.

Tags are stored in match group 1. Match group 2 stores the tags without the enclosing colons.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defconst org-tag-line-re
  (format "^\\*+ \\(?:.*[ \t]\\)?%s[ \t]*$" org-tag--group-enclosed-re)
  "Regexp matching tags in a headline.
Tags are stored in match group 1.  Match group 2 stores the tags
without the enclosing colons.")