change shell variables  to #MatchData variables