regexMatch: Perform a regular expression match, returning the matched...

Description Usage Arguments Value

Description

Perform a regular expression match, returning the matched string.

Usage

1
regexMatch(text, pattern, ignore.case = FALSE, perl = FALSE)

Arguments

text

input string, can be a vector of strings

pattern

regular expression pattern

ignore.case

to pass to regexpr

perl

to pass to regexpr

Value

character vector, same length as 'text' vector


rossholmberg/holmberg documentation built on May 27, 2019, 11:34 p.m.