Searched refs:_regexp_compile_cache (Results 1 – 1 of 1) sorted by relevance
539 _regexp_compile_cache = {} variable657 if pattern not in _regexp_compile_cache:658 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)659 return _regexp_compile_cache[pattern].match(s)675 if pattern not in _regexp_compile_cache:676 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)677 return _regexp_compile_cache[pattern].sub(rep, s)682 if pattern not in _regexp_compile_cache:683 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)684 return _regexp_compile_cache[pattern].search(s)