🔍 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 line
983B

  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 [run_regex]}
  14. \item{render}{Render results to an HTML doc and open in RStudio viewer?}
  15. \item{escape}{Escape HTML-related characters in `text`?}
  16. \item{knitr}{Print into knitr doc? If `TRUE`, marks text as `asis_output` and
  17. sets `render = FALSE` and `escape = TRUE`.}
  18. \item{exact}{Should regex be displayed as entered by the user into R console
  19. or source (default)? When `TRUE`, regex is displayed with the double `\\`
  20. required for escaping backslashes in R. When `FALSE`, regex is displayed
  21. as interpreted by the regex engine (i.e. double `\\` as a single `\`).}
  22. }
  23. \description{
  24. View grouped regex results
  25. }