R: Retrieve the last match

ore.lastmatch {ore} | R 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.

[Package ore version 1.6.0 Index]