Variable: org-property-re

org-property-re is a variable defined in org.el.gz.

Value

"^\\(?4:[       ]*\\)\\(?1::\\(?2:\\S-+\\):\\)\\(?:\\(?3:$\\)\\|[       ]+\\(?3:.*?\\)\\)\\(?5:[        ]*\\)$"

Documentation

Regular expression matching a property line.

There are four matching groups:
1: :PROPKEY: including the leading and trailing colon,
2: PROPKEY without the leading and trailing colon,
3: PROPVAL without leading or trailing spaces,
4: the indentation of the current line,
5: trailing whitespace.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defconst org-property-re
  (org-re-property "\\S-+" 'literal t)
  "Regular expression matching a property line.
There are four matching groups:
1: :PROPKEY: including the leading and trailing colon,
2: PROPKEY without the leading and trailing colon,
3: PROPVAL without leading or trailing spaces,
4: the indentation of the current line,
5: trailing whitespace.")