Return a compiled re object for the format string.
(self, format)
| 482 | return format |
| 483 | |
| 484 | def compile(self, format): |
| 485 | """Return a compiled re object for the format string.""" |
| 486 | return re_compile(self.pattern(format), IGNORECASE) |
| 487 | |
| 488 | _cache_lock = _thread_allocate_lock() |
| 489 | # DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock |