(self, data)
return results
Find interesting CHM items using regex and strings
        - Inspects the pages within the CHM
Find interesting CHM items using regex and strings
        - Inspects the pages within the CHM
Find interesting CHM items using regex and strings - Inspects the pages within the CHM
def find_items(self, data):
        """
        Find interesting CHM items using regex and strings
        - Inspects the pages within the CHM
        """
        results = []
        data = self.unescape(data).lower()
        #Regex matching
        for match, desc in self.item_regex.items():
            found = re.findall(match.lower(), data)
            for res in found:
                temp = desc + ' (' + res + ').'
                results.append(temp)

        #String matching
        for match, desc in self.item_string.items():
            if match.lower() in data:
                results.append(desc)
        return results
def find_items ( self , data ) : results = [ ] data = self . unescape ( data ) . lower ( ) #Regex matching for match , desc in self . item_regex . items ( ) : found = re . findall ( match . lower ( ) , data ) for res in found : temp = desc + ' (' + res + ').' results . append ( temp ) #String matching for match , desc in self . item_string . items ( ) : if match . lower ( ) in data : results . append ( desc ) return results