The regularity of solutions of reaction-diffusion equations via Lagrangian coordinates