Searched refs:match_against (Results 1 – 1 of 1) sorted by relevance
1503 for attr, match_against in list(self.attrs.items()):1512 if not self._matches(attr_value, match_against):1551 def _matches(self, markup, match_against): argument1557 if (isinstance(match_against, unicode)1558 and ' ' in match_against):1566 return (whitespace_re.split(match_against) == markup)1569 if self._matches(item, match_against):1573 if match_against is True:1577 if isinstance(match_against, collections.Callable):1578 return match_against(markup)[all …]