code: def _split_raw(self):
          
  
          self._splitted = self._split_re.split(self.raw)
          # search split locations (basically empty strings)
          self._sections = [ind for ind, elem in enumerate(self._splitted) if not elem]
docs: Split hand history by sections.