with this, the caller can just `expand_hostname_range(line)` without having to guard against it not being in the range formate.