shithub: mc

ref: 4a2263e9daa8ce34bfb9796b36f23c15d060e306
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")
}