xref: /freebsd/contrib/netbsd-tests/lib/libc/regex/data/meta.in (revision 4f1efa309ca48a088595dd57969ae6a397dd49d1)
157718be8SEnji Cooper# metacharacters, backslashes
257718be8SEnji Coopera.c		&	abc	abc
357718be8SEnji Coopera[bc]d		&	abd	abd
457718be8SEnji Coopera\*c		&	a*c	a*c
557718be8SEnji Coopera\\b		&	a\b	a\b
657718be8SEnji Coopera\\\*b		&	a\*b	a\*b
7adeebf4cSKyle Evans# Begin FreeBSD
8*4f1efa30SKyle Evansa\bc		&CP	EESCAPE
9adeebf4cSKyle Evans# End FreeBSD
1057718be8SEnji Coopera\		&C	EESCAPE
1157718be8SEnji Coopera\\bc		&	a\bc	a\bc
1257718be8SEnji Cooper\{		bC	BADRPT
1357718be8SEnji Coopera\[b		&	a[b	a[b
1457718be8SEnji Coopera[b		&C	EBRACK
1557718be8SEnji Cooper# trailing $ is a peculiar special case for the BRE code
1657718be8SEnji Coopera$		&	a	a
1757718be8SEnji Coopera$		&	a$
1857718be8SEnji Coopera\$		&	a
1957718be8SEnji Coopera\$		&	a$	a$
2057718be8SEnji Coopera\\$		&	a
2157718be8SEnji Coopera\\$		&	a$
2257718be8SEnji Coopera\\$		&	a\$
2357718be8SEnji Coopera\\$		&	a\	a\
24