xref: /freebsd/contrib/netbsd-tests/lib/libc/regex/data/meta.in (revision 2b8331622f0b212cf3bb4fc4914a501e5321d506)
1# metacharacters, backslashes
2a.c		&	abc	abc
3a[bc]d		&	abd	abd
4a\*c		&	a*c	a*c
5a\\b		&	a\b	a\b
6a\\\*b		&	a\*b	a\*b
7# Begin FreeBSD
8a\bc		&CP	EESCAPE
9# End FreeBSD
10a\		&C	EESCAPE
11a\\bc		&	a\bc	a\bc
12\{		bC	BADRPT
13a\[b		&	a[b	a[b
14a[b		&C	EBRACK
15# trailing $ is a peculiar special case for the BRE code
16a$		&	a	a
17a$		&	a$
18a\$		&	a
19a\$		&	a$	a$
20a\\$		&	a
21a\\$		&	a$
22a\\$		&	a\$
23a\\$		&	a\	a\
24