shithub: mc

ref: dfe28e0a978ca1acb738b2718a3ef2bd1617ed9a
dir: /libregex/test/capture.myr/

View raw version
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")
}