Searched refs:_regexp_compile_cache (Results 1 – 4 of 4) sorted by relevance
434 _regexp_compile_cache = {} variable509 if pattern not in _regexp_compile_cache:510 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)511 return _regexp_compile_cache[pattern].match(s)527 if pattern not in _regexp_compile_cache:528 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)529 return _regexp_compile_cache[pattern].sub(rep, s)534 if pattern not in _regexp_compile_cache:535 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)536 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)
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)