def find_topicmatch(self, topicstr, exact=False):
        dbref = utils.dbref(topicstr)
        if dbref:
            return self.filter(id=dbref)
        topics = self.filter(db_key__iexact=topicstr)
        if not topics and not exact:
            topics = self.filter(db_key__istartswith=topicstr)
            if not topics:
                topics = self.filter(db_key__icontains=topicstr)
        return topics
Searches for matching topics based on player's input.
dataset/ETHPy150Open evennia/evennia/evennia/help/manager.py/HelpEntryManager.find_topicmatch