regex_cached

Macro regex_cached 

Source
macro_rules! regex_cached {
    ($pattern:expr) => { ... };
}
Expand description

Macro for getting regex from global cache.

ยงPanics

Panics if the regex pattern is invalid. This is acceptable for static patterns where we want to fail fast during development.