number

convenient function to instantiate a number parser

Parser!(T)
number
(
T
)
()

Examples

unittests for number parser

auto parser = number!(immutable(char))();
auto res = parser.parse("123.123");
res.success.should == true;
res.results[0].should == 123.123;

Meta