🔍 An RStudio addin slash regex utility belt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 satır
946B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/run_regex.R
  3. \name{run_regex}
  4. \alias{run_regex}
  5. \title{Extract matched groups from regexp}
  6. \usage{
  7. run_regex(text, pattern, ignore.case = FALSE, perl = FALSE,
  8. fixed = FALSE, useBytes = FALSE)
  9. }
  10. \arguments{
  11. \item{text}{Text to search}
  12. \item{pattern}{regexp}
  13. \item{...}{Arguments passed on to \code{base::regexec}
  14. \describe{
  15. \item{ignore.case}{if \code{FALSE}, the pattern matching is \emph{case
  16. sensitive} and if \code{TRUE}, case is ignored during matching.}
  17. \item{perl}{logical. Should Perl-compatible regexps be used?}
  18. \item{fixed}{logical. If \code{TRUE}, \code{pattern} is a string to be
  19. matched as is. Overrides all conflicting arguments.}
  20. \item{useBytes}{logical. If \code{TRUE} the matching is done
  21. byte-by-byte rather than character-by-character. See
  22. \sQuote{Details}.}
  23. }}
  24. }
  25. \description{
  26. Extract matched groups from regexp
  27. }