Searched refs:_percent_re (Results 1 – 2 of 2) sorted by relevance
184 _percent_re = re.compile(r'%(?:\((?P<key>.*?)\))?' variable194 match = _percent_re.match(percent)228 percents = list(_percent_re.finditer(f))229 new_f = _percent_re.sub('%s', f)
180 _percent_re = re.compile(r'%(?:\((?P<key>.*?)\))?' variable214 percents = list(_percent_re.finditer(f))215 new_f = _percent_re.sub('%s', f)253 match = _percent_re.match(percent)