fix typos, refs rt-86852
remove $`, $', $& variables, refs rt-61395