🔍 An RStudio addin slash regex utility belt
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

24 lines
833B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/regex.R
  3. \name{wrap_result}
  4. \alias{wrap_result}
  5. \title{Wrap matches in HTML span tags to colorize via CSS}
  6. \usage{
  7. wrap_result(x, escape = FALSE, exact = FALSE)
  8. }
  9. \arguments{
  10. \item{x}{Individual list item in list returned by \code{\link[=regex]{regex()}}}
  11. \item{escape}{Escape HTML-related characters in \code{text}?}
  12. \item{exact}{Should the regex pattern be displayed as entered by the user
  13. into R console or source (default)? When \code{TRUE}, regex is displayed with
  14. the double \verb{\\\\\\\\} required for escaping backslashes in R. When \code{FALSE},
  15. regex is displayed as interpreted by the regex engine (i.e. double \verb{\\\\\\\\}
  16. as a single \verb{\\\\}).}
  17. }
  18. \description{
  19. Wrap matches in HTML span tags to colorize via CSS
  20. }
  21. \keyword{internal}