def line_contains_only_close_block_comment(self, line, ext):
        flag = False
        if ext in ("java", "js", "sql", "c", "cpp", "cc", "scala", "php"):
            if re.match(r"^(\+|\-)(\s*)\*/(\s*)$", line):
                flag = True
        elif ext == "py":
            if re.match(r'^(\+|\-)(\s*)"""(\s*)$', line) and not re.match(r'^(\+|\-)(\s*)(""")(.*)"""(\s*)$', line):
                flag = True
        elif ext in ("xml", "html"):
            if re.match(r"^(\+|\-)(\s*)(\-\->)(\s*)$", line):
                flag = True
        elif ext in ("rb"):
            if re.match(r'^(\+|\-)(\s*)(.*)(\=end)(\s*)$', line):
                flag = True
        elif ext in ("m"):
            if re.match(r'^(\+|\-)(\s*)(.*)(%\})(\s*)$', line):
                flag = True

        return flag
dataset/ETHPy150Open SOM-Research/Gitana/gitquerier.py/GitQuerier.line_contains_only_close_block_comment/original