Variable: org-tag--group-enclosed-re

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

Value

"\\(:\\([[:alnum:]_@#%:]+\\):\\)"

Documentation

Regex pattern for a colon-enclosed group of tags.

The regexp does not match encosing spaces and tabs, e.g.,
":TAG1:TAG2:". Match group 1 stores the tags with the enclosing
colons, and match group 2 stores the tags without the enclosing colons. Built using org-tag--valid-char-set with the addition of the colon.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defconst org-tag--group-enclosed-re
  (format "\\(:\\([%s:]+\\):\\)" org-tag--valid-char-set)
  "Regex pattern for a colon-enclosed group of tags.
The regexp does not match encosing spaces and tabs, e.g.,
\":TAG1:TAG2:\".  Match group 1 stores the tags with the enclosing
colons, and match group 2 stores the tags without the enclosing
colons.  Built using `org-tag--valid-char-set' with the addition of the
colon.")