cargo_test_support::compare

Macro regex

source
macro_rules! regex {
    ($re:literal $(,)?) => { ... };
}
Expand description

This makes it easier to write regex replacements that are guaranteed to only get compiled once