patternapply: Iteratively try patterns against a character vector.

Description Usage Arguments Value

Description

Iteratively try patterns against a character vector.

Usage

1

Arguments

X

A character vector where matches are sought.

patterns

A vector of regular expression patterns.

replacements

A list of replacement information, which must match the length of patterns. Each element must be a character vector. This can include backreferences "\1" to "\9" to parenthesized subexpressions of the corresponding pattern.

Value

A list of replacement vectors with class "replacement_list".


eamoncaddigan/patternapply documentation built on May 15, 2019, 7:27 p.m.