Home
last modified time | relevance | path

Searched refs:pattern_part (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/dashboard/dashboard/
Dutils.py187 for test_path_part, pattern_part in zip(test_path_parts, pattern_parts):
188 if not _MatchesPatternPart(pattern_part, test_path_part):
193 def _MatchesPatternPart(pattern_part, test_path_part): argument
203 if pattern_part == '*' or pattern_part == test_path_part:
205 if '*' not in pattern_part:
208 pattern_part = re.escape(pattern_part)
211 re_pattern = re.compile('^' + pattern_part.replace('\\*', '.*') + '$')