Return a compiled re object for the format string.
(self, format)
| 259 | return "%s%s" % (processed_format, format) |
| 260 | |
| 261 | def compile(self, format): |
| 262 | """Return a compiled re object for the format string.""" |
| 263 | return re_compile(self.pattern(format), IGNORECASE) |
| 264 | |
| 265 | _cache_lock = _thread_allocate_lock() |
| 266 | # DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock |