def match(self, s=''):
        """return all options that match, in the name or the description,
        with string `s`, case is disregarded.

        Example: ``cma.CMAOptions().match('verb')`` returns the verbosity
        options.

        """
        match = s.lower()
        res = {}
        for k in sorted(self):
            s = str(k) + '=\'' + str(self[k]) + '\''
            if match in s.lower():
                res[k] = self[k]
        return CMAOptions(res, unchecked=True)
def match ( self , s = '' ) : match = s . lower ( ) res = { } for k in sorted ( self ) : s = str ( k ) + '=\'' + str ( self [ k ] ) + '\'' if match in s . lower ( ) : res [ k ] = self [ k ] return CMAOptions ( res , unchecked = True )
return all options that match, in the name or the description,
        with string `s`, case is disregarded.

        Example: ``cma.CMAOptions().match('verb')`` returns the verbosity
        options.