shithub: mc

ref: 527bad788adf057d71faa98ed6e09952395abe50
dir: /libregex/test/data/capture-expected/

View raw version
Matched Abc via A(.*) : 2
	match 0: Abc
	match 1: bc
Matched Abcde via A(.*)e : 2
	match 0: Abcde
	match 1: bcd
Matched abab via (a|b)+ : 2
	match 0: abab
	match 1: b
Matched Abcde via A(b(.*)d)e : 3
	match 0: Abcde
	match 1: c
	match 2: bcd
Matched aaaa via (a?)(a*)(a?) : 4
	match 0: aaaa
	match 1: a
	match 2: aaa
	match 3: