ore_lastmatch: Retrieve the last match

ore_lastmatchR Documentation

Retrieve the last match

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

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 Jan. 17, 2023, 1:10 a.m.