org-re-timestamp

org-re-timestamp is a compiled Lisp function in `org.el'.

(org-re-timestamp TYPE)

Return a regexp for timestamp TYPE.
Allowed values for TYPE are:

all: all timestamps
active: only active timestamps (<...>)
inactive: only inactive timestamps ([...])
scheduled: only scheduled timestamps
deadline: only deadline timestamps
closed: only closed time-stamps

When TYPE is nil, fall back on returning a regexp that matches
both scheduled and deadline timestamps.