Searched refs:_regexp_compile_cache (Results 1 – 1 of 1) sorted by relevance
545 _regexp_compile_cache = {} variable663 if pattern not in _regexp_compile_cache:664 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)665 return _regexp_compile_cache[pattern].match(s)681 if pattern not in _regexp_compile_cache:682 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)683 return _regexp_compile_cache[pattern].sub(rep, s)688 if pattern not in _regexp_compile_cache:689 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)690 return _regexp_compile_cache[pattern].search(s)