Searched refs:pathregex (Results 1 – 1 of 1) sorted by relevance
19 def MatchPathPrefix(pathregex, prefix): argument20 for i in range(len(pathregex), 0, -1):22 pattern = re.compile('^' + pathregex[0:i] + "$")29 def MatchPathPrefixes(pathregex, Prefixes): argument31 if MatchPathPrefix(pathregex, Prefix):249 def __ExactMatchPathPrefix(self, pathregex, prefix): argument250 pattern = re.compile('^' + pathregex + "$")