Return a list all methods which corresponds to the regexp

        :param name: the name of the method (a python regexp)

        :rtype: a list with all :class:`EncodedMethod` objects

def get_method(self, name):
        """
        Return a list all methods which corresponds to the regexp

        :param name: the name of the method (a python regexp)

        :rtype: a list with all :class:`EncodedMethod` objects
        """
        # TODO could use a generator here
        prog = re.compile(name)
        l = []
        for i in self.get_classes():
            for j in i.get_methods():
                if prog.match(j.get_name()):
                    l.append(j)
        return l