xref: /openbsd-src/regress/usr.bin/mandoc/roff/esc/A1.in (revision e44471f37d7134ba35ecb13703ab80d944ad4dfa)
1.\" $OpenBSD: A1.in,v 1.1 2022/06/08 13:08:00 schwarze Exp $
2.Dd $Mdocdate: June 8 2022 $
3.Dt ESC-A1 1
4.Os
5.Sh NAME
6.Nm esc-A1
7.Nd the roff escape A sequence: identifier syntax validation
8.Sh DESCRIPTION
9empty: \A''
10.br
11letters: \A'word'
12.br
13blank: \A'two words'
14.br
15ASCII non-letters: \AA!"#$%&'()*+,-./0123456789:;<=>?@[\\]^_`{|}~A
16.br
17invalid escapes: \A'\\\.\G'
18.Ss Argument delimiters
19unsupported \er: \A\rword\ru
20.br
21ignored \e&: \A\&word\&u
22.br
23useless \e.: \A\.word.u
24.br
25invalid \eG: \A\GwordGu
26.br
27special \e-: \A\-word\-u
28.br
29break \ep: \A\pword\pu
30.br
31nospace \ec: \A\cword\cu
32.\".br
33.\"skipchar \ez: \A\zword\zu
34.br
35.ds mystr xwordxu
36string expansion: \A\*[mystr]
37.br
38.nr myreg 121
39register expansion: \A\n[myreg]u
40.br
41ignored \eON: \A\O1word\O2u
42.br
43special character: \A\(hyword\(hyu
44.br
45ignored \eZ\(aqstr\(aq: \A\Z'foo'word\Z'bar'u
46.br
47horizontal motion: \A\h'1'word\h'3'u
48.br
49horizontal line: \A\l'4'word\l'2'u
50.br
51overstrike: \A\o'ab'word\o'cd'u
52.br
53unterminated: \A'word
54