org-do-occur

org-do-occur is a compiled Lisp function in `org.el'.

(org-do-occur REGEXP &optional CLEANUP)

Call the Emacs command `occur'.
If CLEANUP is non-nil, remove the printout of the regular expression
in the *Occur* buffer. This is useful if the regex is long and not useful
to read.