'Search a particular content in the scripts results.'

@classmethod
def searchscript(cls, name=None, output=None, values=None):

    req = True
    if (name is not None):
        req = and_(req, cls._searchstring_re(Script.name, name, neg=False))
    if (output is not None):
        req = and_(req, cls._searchstring_re(Script.output, output, neg=False))
    if values:
        if (name is None):
            raise TypeError('.searchscript()    needs    a    `name`    arg    when    using    a    `values`    arg')
        req = and_(req, Script.data.contains({xmlnmap.ALIASES_TABLE_ELEMS.get(name, name): values}))
    return NmapFilter(script=[req])
