Searched refs:_regexp_compile_cache (Results 1 – 4 of 4) sorted by relevance
347 _regexp_compile_cache = {} variable414 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)
544 _regexp_compile_cache = {} variable662 if pattern not in _regexp_compile_cache:663 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)664 return _regexp_compile_cache[pattern].match(s)680 if pattern not in _regexp_compile_cache:681 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)682 return _regexp_compile_cache[pattern].sub(rep, s)687 if pattern not in _regexp_compile_cache:688 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)689 return _regexp_compile_cache[pattern].search(s)