

def test(self, parent, block):
    m = self.SEARCH_RE.search(block)
    if (m and ((m.end() == len(block)) or (block[m.end()] == '\n'))):
        self.match = m
        return True
    return False

dataset/ETHPy150Open darcyliu/storyboard/markdown/blockprocessors.py HRProcessor.test/original