Well, it'd be on every mod log request unless we specifically checked if it needed to be done before doing it, I guess. Either way, seems like a very small thing to add a global variable over. The `re` module has some internal caching for recently-compiled regexes as well, though I'm not sure how many it keeps.