def __search_str(self, obj, item, parent):
        """Compare strings"""
        obj_text = obj if self.case_sensitive else obj.lower()

        if (self.match_string and item == obj_text) or (not self.match_string and item in obj_text):
            self.__report(report_key='matched_values', key=parent, value=obj)