% Generated by roxygen2: do not edit by hand % Please edit documentation in R/run_regex.R \name{view_regex} \alias{view_regex} \title{View grouped regex results} \usage{ view_regex(text, pattern, ..., render = TRUE, escape = render, knitr = FALSE, exact = escape) } \arguments{ \item{text}{Text to search} \item{pattern}{Regex pattern to look for} \item{...}{Passed to \code{\link[=run_regex]{run_regex()}}} \item{render}{Render results to an HTML doc and open in RStudio viewer?} \item{escape}{Escape HTML-related characters in \code{text}?} \item{knitr}{Print into knitr doc? If \code{TRUE}, marks text as \code{asis_output} and sets \code{render = FALSE} and \code{escape = TRUE}.} \item{exact}{Should the regex pattern be displayed as entered by the user into R console or source (default)? When \code{TRUE}, regex is displayed with the double \code{\\\\} required for escaping backslashes in R. When \code{FALSE}, regex is displayed as interpreted by the regex engine (i.e. double \code{\\\\} as a single \code{\\}).} } \description{ View grouped regex results }