xref: /minix3/tests/lib/libc/regex/data/bracket.in (revision 11be35a165022172ed3cea20f2b5df0307540b0e)
1*11be35a1SLionel Sambuc# brackets, and numerous perversions thereof
2*11be35a1SLionel Sambuca[b]c		&	abc	abc
3*11be35a1SLionel Sambuca[ab]c		&	abc	abc
4*11be35a1SLionel Sambuca[^ab]c		&	adc	adc
5*11be35a1SLionel Sambuca[]b]c		&	a]c	a]c
6*11be35a1SLionel Sambuca[[b]c		&	a[c	a[c
7*11be35a1SLionel Sambuca[-b]c		&	a-c	a-c
8*11be35a1SLionel Sambuca[^]b]c		&	adc	adc
9*11be35a1SLionel Sambuca[^-b]c		&	adc	adc
10*11be35a1SLionel Sambuca[b-]c		&	a-c	a-c
11*11be35a1SLionel Sambuca[b		&C	EBRACK
12*11be35a1SLionel Sambuca[]		&C	EBRACK
13*11be35a1SLionel Sambuca[1-3]c		&	a2c	a2c
14*11be35a1SLionel Sambuca[3-1]c		&C	ERANGE
15*11be35a1SLionel Sambuca[1-3-5]c	&C	ERANGE
16*11be35a1SLionel Sambuca[[.-.]--]c	&	a-c	a-c
17*11be35a1SLionel Sambuca[1-		&C	ERANGE
18*11be35a1SLionel Sambuca[[.		&C	EBRACK
19*11be35a1SLionel Sambuca[[.x		&C	EBRACK
20*11be35a1SLionel Sambuca[[.x.		&C	EBRACK
21*11be35a1SLionel Sambuca[[.x.]		&C	EBRACK
22*11be35a1SLionel Sambuca[[.x.]]	&	ax	ax
23*11be35a1SLionel Sambuca[[.x,.]]	&C	ECOLLATE
24*11be35a1SLionel Sambuca[[.one.]]b	&	a1b	a1b
25*11be35a1SLionel Sambuca[[.notdef.]]b	&C	ECOLLATE
26*11be35a1SLionel Sambuca[[.].]]b	&	a]b	a]b
27*11be35a1SLionel Sambuca[[:alpha:]]c	&	abc	abc
28*11be35a1SLionel Sambuca[[:notdef:]]c	&C	ECTYPE
29*11be35a1SLionel Sambuca[[:		&C	EBRACK
30*11be35a1SLionel Sambuca[[:alpha	&C	EBRACK
31*11be35a1SLionel Sambuca[[:alpha:]	&C	EBRACK
32*11be35a1SLionel Sambuca[[:alpha,:]	&C	ECTYPE
33*11be35a1SLionel Sambuca[[:]:]]b	&C	ECTYPE
34*11be35a1SLionel Sambuca[[:-:]]b	&C	ECTYPE
35*11be35a1SLionel Sambuca[[:alph:]]	&C	ECTYPE
36*11be35a1SLionel Sambuca[[:alphabet:]]	&C	ECTYPE
37*11be35a1SLionel Sambuc[[:alnum:]]+	-	-%@a0X-	a0X
38*11be35a1SLionel Sambuc[[:alpha:]]+	-	-%@aX0-	aX
39*11be35a1SLionel Sambuc[[:blank:]]+	-	aSSTb	SST
40*11be35a1SLionel Sambuc[[:cntrl:]]+	-	aNTb	NT
41*11be35a1SLionel Sambuc[[:digit:]]+	-	a019b	019
42*11be35a1SLionel Sambuc[[:graph:]]+	-	Sa%bS	a%b
43*11be35a1SLionel Sambuc[[:lower:]]+	-	AabC	ab
44*11be35a1SLionel Sambuc[[:print:]]+	-	NaSbN	aSb
45*11be35a1SLionel Sambuc[[:punct:]]+	-	S%-&T	%-&
46*11be35a1SLionel Sambuc[[:space:]]+	-	aSNTb	SNT
47*11be35a1SLionel Sambuc[[:upper:]]+	-	aBCd	BC
48*11be35a1SLionel Sambuc[[:xdigit:]]+	-	p0f3Cq	0f3C
49*11be35a1SLionel Sambuca[[=b=]]c	&	abc	abc
50*11be35a1SLionel Sambuca[[=		&C	EBRACK
51*11be35a1SLionel Sambuca[[=b		&C	EBRACK
52*11be35a1SLionel Sambuca[[=b=		&C	EBRACK
53*11be35a1SLionel Sambuca[[=b=]		&C	EBRACK
54*11be35a1SLionel Sambuca[[=b,=]]	&C	ECOLLATE
55*11be35a1SLionel Sambuca[[=one=]]b	&	a1b	a1b
56