use lua_patterns::LuaPattern; fn main() { let mut m = LuaPattern::from_bytes(&[160]); let s = "⚠"; s.bytes().for_each(|b| println!("{}", b)); dbg!(m.gsub_checked(s, "")); }