alnum

convenient function to instantiate a AlphaNumericParser

alnum
(
T
)
(
bool collect = true
)

Examples

the alnum parser

auto parser = alnum!(immutable(char))();
auto res = parser.parseAll("-Aa1234");
res.success.should == true;
res.results[0].should == "-Aa1234";
res = parser.parseAll("a1234");
res.success.should == true;

Meta