🔍 An RStudio addin slash regex utility belt
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

32 lines
1.0KB

  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, global = TRUE)
  9. }
  10. \arguments{
  11. \item{text}{Text to search}
  12. \item{pattern}{regexp}
  13. \item{global}{If \code{TRUE}, enables global pattern matching}
  14. \item{...}{Arguments passed on to \code{base::regexec}
  15. \describe{
  16. \item{ignore.case}{if \code{FALSE}, the pattern matching is \emph{case
  17. sensitive} and if \code{TRUE}, case is ignored during matching.}
  18. \item{perl}{logical. Should Perl-compatible regexps be used?}
  19. \item{fixed}{logical. If \code{TRUE}, \code{pattern} is a string to be
  20. matched as is. Overrides all conflicting arguments.}
  21. \item{useBytes}{logical. If \code{TRUE} the matching is done
  22. byte-by-byte rather than character-by-character. See
  23. \sQuote{Details}.}
  24. }}
  25. }
  26. \description{
  27. Extract matched groups from regexp
  28. }