This function can be used to obtain the "orematch"
object, or list,
corresponding to the last call to ore_search
. This can be
useful after performing a search implicitly, for example with %~%
.
ore_lastmatch(simplify = TRUE)
An "orematch"
object or list. See ore_search
for details.
If TRUE
and the last match was against a single
string, then the "orematch"
object will be returned, instead of a
list with one element.