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