Function: org-make-options-regexp
org-make-options-regexp is a byte-compiled function defined in
org.el.gz.
Signature
(org-make-options-regexp KWDS &optional EXTRA)
Documentation
Make a regular expression for keyword lines.
KWDS is a list of keywords, as strings. Optional argument EXTRA, when non-nil, is a regexp matching keywords names.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-make-options-regexp (kwds &optional extra)
"Make a regular expression for keyword lines.
KWDS is a list of keywords, as strings. Optional argument EXTRA,
when non-nil, is a regexp matching keywords names."
(concat "^[ \t]*#\\+\\("
(regexp-opt kwds)
(and extra (concat (and kwds "\\|") extra))
"\\):[ \t]*\\(.*\\)"))