Was this helpful?
Special {define} Processing
When you define a macro using {define}, special processing takes place. In {define}, all sequences of spaces, tabs, and newlines in the template, as well as all "non-spaces" between words are turned into:
Character
Description
\|
Matches any number of spaces, tabs, or newlines.
Matches zero, but only between words, as can occur with punctuation. For example, \| matches the spot between the last character of a word and a comma following it.
\^
Matches exactly one space, tab, or newline
\&
Matches exactly zero spaces, tabs, or newlines, but only between words.
If the template ends with a parameter, the \& character is added at the end.
Typically you do not see them, but they can appear in the output of a {dump} command.
Last modified date: 11/09/2022