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