1s/foo/\1/
2s/\(bar\)/\2"\1"\3/
3s/\(baz\)/'\1'/
w
