R/regpull.R

Defines functions regpull

regpull <- function(txt, regx,case=T) {
  unlist(regmatches(txt,
                    gregexpr(
                      pattern = regx,
                      txt,
                      ignore.case = case
                    )))
}
JARS3N/NBQC documentation built on Jan. 21, 2022, 12:02 a.m.