Function chomp::ascii::match_float [] [src]

pub fn match_float<I: Input<Token = u8>>(i: I) -> SimpleResult<I, I::Buffer>

Matches a floating point number in base-10 with an optional exponent, returning a buffer.

Matches /[+-]?[0-9]+(\.[0-9]+)?([eE][+-]?[0-9]+)/