pub fn parse_range(textrange: &str) -> Result<(usize, usize), ParseIntError>
Parse a patch range, handling the “1” special-case