regmatch: Match string using Regex patterns

Description Usage Examples

Description

Match string out directly

Usage

1
regmatch(pattern, text, global = F, ...)

Examples

1
2
3
t <- c("Ab80", "bU09", "CC11", "D0A1", "EW19", "fp39")
regmatch("[A-Z]", t)
regmatch("[A-Z]", t, global = T)

lovetoken/useful.lovetoken documentation built on June 14, 2019, 3:21 p.m.