def METHOD_NAME(self, pattern: str) -> None:
    (range_from, range_to) = pattern.split("-")
    self.range_from = int(range_from) if range_from else 0
    self.range_to = int(range_to) if range_to else GroupAddress.MAX_FREE