val FromToPattern = """(\d+)\.\.\.(\d+)""".r val FromToPattern(from, to) = "111...222" println(s"From: $from, To: $to")