parse open ranges