code: def line_data(line:str) -> tuple:
      
      for regex, _ in LINE_TYPES.items():
          match = re.fullmatch(regex, line)
          if match:
              return match.groups()
      raise ValueError("Input line \"{}\" is not bubble formatted".format(line))
docs: Return groups found in given line
  
      >>> line_data('IN\\ta\\tb')
      ('IN', 'a', 'b')
      >>> line_data('')
      ()