Extract matched groups from regexp
run_regex(text, pattern, ignore.case = FALSE, perl = FALSE,
fixed = FALSE, useBytes = FALSE)
Text to search
regexp
Arguments passed on to base::regexec
if FALSE
, the pattern matching is case
sensitive and if TRUE
, case is ignored during matching.
logical. Should Perl-compatible regexps be used?
logical. If TRUE
, pattern
is a string to be
matched as is. Overrides all conflicting arguments.
logical. If TRUE
the matching is done
byte-by-byte rather than character-by-character. See
‘Details’.