ore_lastmatch: Retrieve the last match

Description Usage Arguments Value

Description

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 %~%.

Usage

1
ore_lastmatch(simplify = TRUE)

Arguments

simplify

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.

Value

An "orematch" object or list. See ore_search for details.


ore documentation built on Nov. 2, 2021, 5:08 p.m.