filterPatternMatches: Filter out all of the records that match an existing pattern.

Description Usage Arguments Details Value

Description

Filter out all of the records that match an existing pattern.

Usage

1

Arguments

X

A character vector where matches are sought.

patterns

A vector of regular expression patterns.

Details

This is meant to be useful when developing a vector of regexes to apply to text. Regular expressions can be appended to patterns interactively until the edge cases are all covered, and then patternapply() can be deployed to extract data.

Value

The subset of X that did not match any of the regexes in patterns


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