Parse snippet for escape chars