Home
last modified time | relevance | path

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

/external/webkit/WebKitTools/Scripts/modules/
Ddiff_parser.py35 _regexp_compile_cache = {} variable
40 if not pattern in _regexp_compile_cache:
41 _regexp_compile_cache[pattern] = re.compile(pattern)
42 return _regexp_compile_cache[pattern].match(string)
Dcpp_style.py243 _regexp_compile_cache = {} variable
251 if not pattern in _regexp_compile_cache:
252 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
253 return _regexp_compile_cache[pattern].match(s)
258 if not pattern in _regexp_compile_cache:
259 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
260 return _regexp_compile_cache[pattern].search(s)