trying to parse all of the input
import unit_threaded; auto parser = match("test"); auto res = parser.parseAll("test"); res.success.shouldBeTrue; res.rest.length.shouldEqual(0); res = parser.parseAll("test1"); res.success.shouldBeFalse;
See Implementation