[PATCH] Re: replace-in-string infloops (was re: another math problem)