ref: 9930411eb53445ca7d1f1d98d85d79c646890cc2
dir: /libregex/test/data/capture-expected/
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: