Return a compiled re object for the format string.
(self, format)
| 309 | return "%s%s" % (processed_format, format) |
| 310 | |
| 311 | def compile(self, format): |
| 312 | """Return a compiled re object for the format string.""" |
| 313 | return re_compile(self.pattern(format), IGNORECASE) |
| 314 | |
| 315 | _cache_lock = _thread_allocate_lock() |
| 316 | # DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock |
no test coverage detected