🔍 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
1.1KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/run_regex.R
  3. \name{view_regex}
  4. \alias{view_regex}
  5. \title{View grouped regex results}
  6. \usage{
  7. view_regex(text, pattern, ..., render = TRUE, escape = render,
  8. knitr = FALSE, exact = escape)
  9. }
  10. \arguments{
  11. \item{text}{Text to search}
  12. \item{pattern}{Regex pattern to look for}
  13. \item{...}{Passed to \code{\link[=run_regex]{run_regex()}}}
  14. \item{render}{Render results to an HTML doc and open in RStudio viewer?}
  15. \item{escape}{Escape HTML-related characters in \code{text}?}
  16. \item{knitr}{Print into knitr doc? If \code{TRUE}, marks text as \code{asis_output} and
  17. sets \code{render = FALSE} and \code{escape = TRUE}.}
  18. \item{exact}{Should the regex pattern be displayed as entered by the user
  19. into R console or source (default)? When \code{TRUE}, regex is displayed with
  20. the double \code{\\\\} required for escaping backslashes in R. When \code{FALSE},
  21. regex is displayed as interpreted by the regex engine (i.e. double \code{\\\\}
  22. as a single \code{\\}).}
  23. }
  24. \description{
  25. View grouped regex results
  26. }