🔍 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.

33 lines
997B

  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, fixed = FALSE,
  8. useBytes = FALSE, invert = FALSE)
  9. }
  10. \arguments{
  11. \item{text}{Text to search}
  12. \item{pattern}{regexp}
  13. \item{ignore.case}{if \code{FALSE}, the pattern matching is \emph{case
  14. sensitive} and if \code{TRUE}, case is ignored during matching.}
  15. \item{perl}{logical. Should Perl-compatible regexps be used?}
  16. \item{fixed}{logical. If \code{TRUE}, \code{pattern} is a string to be
  17. matched as is. Overrides all conflicting arguments.}
  18. \item{useBytes}{logical. If \code{TRUE} the matching is done
  19. byte-by-byte rather than character-by-character. See
  20. \sQuote{Details}.}
  21. \item{invert}{logical. If \code{TRUE} return indices or values for
  22. elements that do \emph{not} match.}
  23. }
  24. \description{
  25. Extract matched groups from regexp
  26. }