xref: /freebsd/contrib/netbsd-tests/lib/libc/regex/data/paren.in (revision 0a36787e4c1fa0cf77dcf83be0867178476e372b)
1# parentheses and perversions thereof
2a(b)c		-	abc	abc
3a\(b\)c		b	abc	abc
4a(		C	EPAREN
5a(		b	a(	a(
6a\(		-	a(	a(
7a\(		bC	EPAREN
8a\(b		bC	EPAREN
9a(b		C	EPAREN
10a(b		b	a(b	a(b
11# gag me with a right parenthesis -- 1003.2 goofed here (my fault, partly)
12a)		-	a)	a)
13)		-	)	)
14# end gagging (in a just world, those *should* give EPAREN)
15a)		b	a)	a)
16a\)		bC	EPAREN
17\)		bC	EPAREN
18a()b		-	ab	ab
19a\(\)b		b	ab	ab
20