Skip to main content

parse_ranges

Function parse_ranges 

Source
pub fn parse_ranges(s: &str) -> Option<Vec<RangeInclusive<u32>>>
Expand description

Parses a 27.007 range list such as 0-1,3 or (0-5) into inclusive ranges. None on anything that is not digits, - and ,.