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

32 satır
935B

  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(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{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{global}{If \code{TRUE}, enables global pattern matching}
  22. }
  23. \description{
  24. Extract matched groups from regexp
  25. }