That is the way $replace has always worked, from left to right.