r'\n+\ *

def t_fold_end(self, t):
        r'\n+\ *'
        column = find_column(t)
        indent = self.indent_stack[-1]
        if column < indent:
            rollback_lexpos(t)
        if column <= indent:
            t.lexer.pop_state()
            t.type = 'B_FOLD_END'
        if column > indent:
            t.type = 'SCALAR'
        return t