fn any_number<T>(s: &str) -> IResult<&str, T>
where T: Num<FromStrRadixErr = ParseIntError>,
Expand description

Nom parser for valid positive of negative numbers.

Hexadecimal, octal, and binary values can be specified with the 0x, 0o and 0b prefixes.