'Return a list of RhsmPools whose pool id matches the provided regular expression'

def filter_pools(self, regexp='^$'):

    r = re.compile(regexp)
    for product in self.products:
        if r.search(product.get_pool_id()):
            (yield product)
