Verbatim
Verbatim[expr]
represents expr in pattern matching, requiring that expr be matched exactly as it appears, with no substitutions for blanks or other transformations.
Examples
open allclose allBasic Examples (2)
Scope (1)
Transform a rule into a list of rules with special cases:
This rule transforms an expression into its square:
Use Verbatim to make rules specific for number types:
The list of specific rules only transforms integers, reals, and rationals:
Text
Wolfram Research (1996), Verbatim, Wolfram Language function, https://reference.wolfram.com/language/ref/Verbatim.html.
CMS
Wolfram Language. 1996. "Verbatim." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Verbatim.html.
APA
Wolfram Language. (1996). Verbatim. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Verbatim.html