Searched refs:match_against (Results 1 – 1 of 1) sorted by relevance
1616 for attr, match_against in list(self.attrs.items()):1625 if not self._matches(attr_value, match_against):1664 def _matches(self, markup, match_against): argument1670 if (isinstance(match_against, str)1671 and ' ' in match_against):1679 return (whitespace_re.split(match_against) == markup)1682 if self._matches(item, match_against):1686 if match_against is True:1690 if isinstance(match_against, collections.abc.Callable):1691 return match_against(markup)[all …]