xref: /openbsd-src/regress/usr.bin/mandoc/roff/string/escape.in (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
STRING-ESCAPE 1 "December 3, 2010"
NAME
string-escape - preventing string interpolation
DESCRIPTION
Normal interpolation
result: \*[inner]

The above line must be "result: *[right]".

Intervening character
result: \e*[right]

The above line must be "result: backslash*[right]", not "result: rong".

Escaped backslash
result: \\*[right]

The above line must be "result: backslash*[right]", not "result: rong".

Delayed interpolation
result: \*[outer]

The above line must be "result: *[right]", not "result: wrong".