Learn R Programming

metacoder (version 0.3.7)

validate_regex_match: Check that all match input

Description

Ensure that all of a character vector matches a regex. Inputs that do not match are excluded.

Usage

validate_regex_match(input, regex)

Value

character Parts of input matching regex

Arguments

input

(character)

regex

(character of length 1)