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.py128 for test_path_part, pattern_part in zip(test_path_parts, pattern_parts):
129 if not _MatchesPatternPart(pattern_part, test_path_part):
134 def _MatchesPatternPart(pattern_part, test_path_part): argument
144 if pattern_part == '*' or pattern_part == test_path_part:
146 if '*' not in pattern_part:
149 pattern_part = re.escape(pattern_part)
152 re_pattern = re.compile('^' + pattern_part.replace('\\*', '.*') + '$')