match_start

Macro match_start 

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

Checks if string starts with any of the &strs