cheat function

A Cheat Sheet of Common Regex Task Chunks

A Cheat Sheet of Common Regex Task Chunks

Print a cheat sheet of common regex task chunks. cheat prints a left justified version of regex_cheat.

cheat(dictionary = qdapRegex::regex_cheat, print = TRUE)

Arguments

  • dictionary: A dictionary of cheat terms. Default is regex_cheat.
  • print: logical. If TRUE the left justified output is printed to the console.

Returns

Prints a cheat sheet of common regex tasks such as lookaheads. Invisibly returns regex_cheat.

Examples

cheat()

See Also

regex_cheat

  • Maintainer: Tyler Rinker
  • License: GPL-2
  • Last published: 2025-03-24