def is_suppressed(self, view, filename):
        override_settings = view.settings().get("file_history", dict())
        exclude_patterns = self.PATH_EXCLUDE_PATTERNS + override_settings.get("path_exclude_patterns", [])
        reinclude_patterns = self.PATH_REINCLUDE_PATTERNS + override_settings.get("path_reinclude_patterns", [])

        # Force forward slashes in the filename
        filename = os.path.normpath(filename).replace("\\", "/")

        # Search the filename for the pattern and suppress it if it matches
        for exclude in exclude_patterns:
            if re.search(exclude, filename):
                self.debug('[X] Exclusion pattern "%s" blocks history tracking for filename "%s"'
                           * (exclude, filename))
                # See if none of out reinclude patterns nullifies the exclude
                for reinclude in reinclude_patterns:
                    if re.search(reinclude, filename):
                        self.debug('[O] Inclusion pattern "%s" re-includes history tracking for filename "%s"'
                                   % (reinclude, filename))
                        return False
                return True

        return False
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/FileHistory.is_suppressed/operator `%` -> `*`