org-heading-keyword-regexp-format

org-heading-keyword-regexp-format is a variable defined in `org.el'.
Its value is
"^\\(\\*+\\)\\(?: +%s\\)\\(?: +\\(.*?\\)\\)?[ 	]*$"

  • This variable may be risky if used as a file-local variable.

Documentation:
Printf format for a regexp matching a headline with some keyword.
This regexp will match the headline of any node which has the
exact keyword that is put into the format. The keyword isn't in
any group by default, but the stars and the body are.