def _search_names(self, query):
regexp = re.compile(query, re.IGNORECASE | re.DOTALL)<EOL>for contact in self.contacts.values():<EOL><INDENT>if regexp.search(contact.get_full_name()) is not None:<EOL><INDENT>yield contact<EOL><DEDENT><DEDENT>
Search in the name filed for contacts matching query.

        :param query: the query to search for
        :type query: str
        :yields: all found contacts
        :rtype: generator(carddav_object.CarddavObject)