match_end

Macro match_end 

Source
macro_rules! match_end {
    ($to_check:expr, $( $( $end:literal)|* => $to_return:expr )* ) => { ... };
    (@INTERNAL $to_check:expr, $($start:literal),*) => { ... };
}
Expand description

Checks if string ends with any of the &strs