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

/art/tools/
H A Dcpplint.py347 _regexp_compile_cache = {} variable
414 if not pattern in _regexp_compile_cache:
415 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
416 return _regexp_compile_cache[pattern].match(s)
421 if not pattern in _regexp_compile_cache:
422 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
423 return _regexp_compile_cache[pattern].search(s)

Completed in 40 milliseconds