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

Define Pattern with flags