shithub: mc

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