Searched refs:pathregex (Results 1 – 1 of 1) sorted by relevance
33 def MatchPathPrefix(pathregex, prefix): argument34 for i in range(len(pathregex), 0, -1):36 pattern = re.compile('^' + pathregex[0:i] + "$")43 def MatchPathPrefixes(pathregex, Prefixes): argument45 if MatchPathPrefix(pathregex, Prefix):267 def __ExactMatchPathPrefix(self, pathregex, prefix): argument268 pattern = re.compile('^' + pathregex + "$")