🔍 An RStudio addin slash regex utility belt
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

39 linhas
949B

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