'Return a list (paragraph & messages) & a boolean: literal_block next?'

def paragraph(self, lines, lineno):

    data = '\n'.join(lines).rstrip()
    if re.search('(?<!\\\\)(\\\\\\\\)*::$', data):
        if (len(data) == 2):
            return ([], 1)
        elif (data[(-3)] in '    \n'):
            text = data[:(-3)].rstrip()
        else:
            text = data[:(-1)]
        literalnext = 1
    else:
        text = data
        literalnext = 0
    (textnodes, messages) = self.inline_text(text, lineno)
    p = nodes.paragraph(data, '', *textnodes)
    p.line = lineno
    return (([p] + messages), literalnext)
