xref: /freebsd/contrib/netbsd-tests/lib/libc/regex/data/anchor.in (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1# anchoring and REG_NEWLINE
2^abc$		&	abc	abc
3a^b		-	a^b
4a^b		b	a^b	a^b
5a$b		-	a$b
6a$b		b	a$b	a$b
7^		&	abc	@abc
8$		&	abc	@
9^$		&	""	@
10$^		-	""	@
11\($\)\(^\)	b	""	@
12# stop retching, those are legitimate (although disgusting)
13^^		-	""	@
14$$		-	""	@
15b$		&	abNc
16b$		&n	abNc	b
17^b$		&	aNbNc
18^b$		&n	aNbNc	b
19^$		&n	aNNb	@Nb
20^$		n	abc
21^$		n	abcN	@
22$^		n	aNNb	@Nb
23\($\)\(^\)	bn	aNNb	@Nb
24^^		n^	aNNb	@Nb
25$$		n	aNNb	@NN
26^a		^	a
27a$		$	a
28^a		^n	aNb
29^b		^n	aNb	b
30a$		$n	bNa
31b$		$n	bNa	b
32a*(^b$)c*	-	b	b
33a*\(^b$\)c*	b	b	b
34