text_extract: extract regex matches

Description Usage Arguments

View source: R/utils.R

Description

wrapper function around regexec and regmatches

Usage

1
2
text_extract(x, pattern, ignore.case = FALSE, perl = FALSE,
  fixed = FALSE, useBytes = FALSE, invert = FALSE)

Arguments

x

text from which to extract

pattern

see grep

ignore.case

see grep

perl

see grep

fixed

see grep

useBytes

see grep

invert

if TRUE non-regex-matches are extracted instead


rwright88/ghcn documentation built on Aug. 9, 2019, 3:55 a.m.