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