shithub: mc

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