Searched refs:matchAgainst (Results 1 – 1 of 1) sorted by relevance
883 for attr, matchAgainst in self.attrs.items():892 if not self._matches(attrValue, matchAgainst):928 def _matches(self, markup, matchAgainst): argument931 if matchAgainst == True and type(matchAgainst) == types.BooleanType:933 elif callable(matchAgainst):934 result = matchAgainst(markup)943 if hasattr(matchAgainst, 'match'):945 result = markup and matchAgainst.search(markup)946 elif (isList(matchAgainst)947 and (markup is not None or not isString(matchAgainst))):[all …]