macro_rules! match_end { ($to_check:expr, $( $( $end:literal)|* => $to_return:expr )* ) => { ... }; (@INTERNAL $to_check:expr, $($start:literal),*) => { ... }; }
Checks if string ends with any of the &strs
&str