code: def main_group(self, i):
          
  
          current = []
          while True:
              try:
                  t = next(i)
                  current.extend(self.normal(t, i))
              except StopIteration:
                  break
          return current
docs: The main group: group 0.