#[test] fn test_macro_regex() { let mut x = regex_literal::xregex!("/(?i)ab+c/",b"/"); let re0 = x.get_regex().unwrap(); assert!(re0.is_match("ABBBC")); let mut y = regex_literal::xregex!("!!!!(?i)ab+c!!!!",b"!!!!"); let re1 = y.get_regex().unwrap(); assert!(re1.is_match("ABBBC")); }