4. Cast to &'static and *. Expert Rust hacker level.
This is a technique I've used in anger: https://github.com/AS207960/xml-serde/pull/8
I chose to cache them at runtime by compiling `&'static str`s once and leaking to make a corresponding `&'static Regex`. This is a "leak" insofar as I can't ever release them, but it's leaking into a global cache, and it's bounded because the input strings can't ever be released either. There was a code path which handles dynamic strings, and that path still allocates and frees regexes after the changeset.