code: def split(self, text):
          
  
          import re
          if re.search('\n\n', text):
              return text.split('\n\n')
          elif re.search('\r\n\r\n', text):
              return text.split('\r\n\r\n')
          else:
              LOGGER.error("'%s' does not appear to be a 'srt' subtitle file",
                           self.filename)
              sys.exit(1)
docs: Split text into a list of cells.