use lua_patterns::LuaPattern;
fn main() {
let mut m = LuaPattern::from_bytes(&[160]);
let s = "⚠";
s.bytes().for_each(|b| println!("{}" , b));
m.gsub(s , "");
}
The ⚠ is made up of the bytes [226 , 154 , 160] removing the 160 causes the string to become invalid unicode
The ⚠ is made up of the bytes [226 , 154 , 160] removing the 160 causes the string to become invalid unicode