macro_rules! patterns {
    ( $( $expr:expr ),* ) => { ... };
    ( $( $expr:expr ),* ; $( $flag:ident )|* ) => { ... };
    ( $( $expr:expr ),* ; $flags:expr ) => { ... };
}
Expand description

Define multi Pattern with flags and ID