summaryrefslogtreecommitdiff
path: root/test/regex/leftassoc.dat
blob: 9c068c61bfc81c40fa7a90687363e583b5d3489a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
NOTE	left-assoc:pass-all right-assoc:pass-none : 2002-04-29

E	(a|ab)(c|bcd)(d*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(a|ab)(bcd|c)(d*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(ab|a)(c|bcd)(d*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(ab|a)(bcd|c)(d*)	abcd	(0,4)(0,1)(1,4)(4,4)

E	(a*)(b|abc)(c*)		abc	(0,3)(0,0)(0,3)(3,3)
E	(a*)(abc|b)(c*)		abc	(0,3)(0,0)(0,3)(3,3)
E	(a*)(b|abc)(c*)		abc	(0,3)(0,0)(0,3)(3,3)
E	(a*)(abc|b)(c*)		abc	(0,3)(0,0)(0,3)(3,3)

E	(a|ab)(c|bcd)(d|.*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(a|ab)(bcd|c)(d|.*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(ab|a)(c|bcd)(d|.*)	abcd	(0,4)(0,1)(1,4)(4,4)
E	(ab|a)(bcd|c)(d|.*)	abcd	(0,4)(0,1)(1,4)(4,4)