def _split(self, text):
        if self.break_on_hyphens is True:
            chunks = self.wordsep_re.split(text)
        else:
            chunks = self.wordsep_simple_re.split(text)
        chunks = filter(None, chunks)  # remove empty chunks
        return chunks
Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/157
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/textwrap.py/TextWrapper._split--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestCore.test_nonstandard_hdu