def get_multiline(self,f,m):
        content = []
        next_line = ''
        while not re.search("^}",next_line):
            content.append(next_line)
            try:
                next_line = next(f)
            except __HOLE__:
                # This will happen at end of file
                next_line = None
                break
        content = "".join(content)
        return content, next_line
dataset/ETHPy150Open mogui/pyorient/pyorient/groovy.py/Scanner.get_multiline