ref: 0b296ffc4dfa7765a52a6f83e1dabb2aa81d5c2a
dir: /libregex/test/capture.myr/
use "testmatch.use"
const main = {
testmatch("A(.*)", "Abc")
testmatch("A(.*)e", "Abcde")
testmatch("(a|b)+", "abab")
testmatch("A(b(.*)d)e", "Abcde")
testmatch("(a?)(a*)(a?)", "aaaa")
}