RDocumentation
Moon
Learn R
Search all packages and functions
metacoder (version 0.1.2)
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, max_print = 10)
Arguments
input
(
character
)
regex
(
character
of length 1)
max_print
(
numeric
of length 1) The maximum number of lines to print in error/warning messages.
Value
character
Parts of
input
matching
regex