The teaching may or may not have changed with Jesus, depending upon your knowledge of the debates of his time (the debate between Shemaya and Hillel) and whether Jesus was condemning all remarriage or simply remarriage for a better placed spouse.