Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dlocale.py184 _percent_re = re.compile(r'%(?:\((?P<key>.*?)\))?' variable
194 match = _percent_re.match(percent)
228 percents = list(_percent_re.finditer(f))
229 new_f = _percent_re.sub('%s', f)
/external/python/cpython3/Lib/
Dlocale.py180 _percent_re = re.compile(r'%(?:\((?P<key>.*?)\))?' variable
214 percents = list(_percent_re.finditer(f))
215 new_f = _percent_re.sub('%s', f)
253 match = _percent_re.match(percent)