Searched refs:_regexp_compile_cache (Results 1 – 5 of 5) sorted by relevance
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)
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)
846 _regexp_compile_cache = {} variable1035 if pattern not in _regexp_compile_cache:1036 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)1037 return _regexp_compile_cache[pattern].match(s)1053 if pattern not in _regexp_compile_cache:1054 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)1055 return _regexp_compile_cache[pattern].sub(rep, s)1060 if pattern not in _regexp_compile_cache:1061 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)1062 return _regexp_compile_cache[pattern].search(s)