'Break a block into list items.'

def get_items(self, block):

    items = []
    for line in block.split('\n'):
        m = self.CHILD_RE.match(line)
        if m:
            items.append(m.group(3))
        elif self.INDENT_RE.match(line):
            if items[(-1)].startswith(('    ' * markdown.TAB_LENGTH)):
                items[(-1)] = ('%s\n%s' % (items[(-1)], line))
            else:
                items.append(line)
        else:
            items[(-1)] = ('%s\n%s' % (items[(-1)], line))
    return items
