shithub: mc

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