echo "qqGG3" |cargo run sed -e "i\\6IlzWb"
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/sedapp sed -e 'i\6IlzWb'`
sed: i\6IlzWb:1:2: error: extra characters after \ at the end of `i' command
echo "qqGG3" |sed -e "i\\6IlzWb"
6IlzWb
qqGG3
with our impl:
With GNU: