class for matching repetitions
unittest for repetition
1 import unit_threaded; 2 3 auto parser = *match("a"); 4 auto res = parser.parse("aa"); 5 res.success.shouldBeTrue; 6 res.rest.shouldEqual(""); 7 res.results.length.shouldEqual(2);
See Implementation
class for matching repetitions