The claim that Hamas "learned" from the last conflict, at least as stated in the article, is false. Hamas did not learn to respect Israel. Hamas did not learn to care about the Palestinian people. What Hamas learned was that if they can hold out long enough, the world will force the Israelis to stop and pull back. In other words, Hamas has learned that there is no existential threat to Hamas! No matter what they do, they learned that the world will prevent the extinction of Hamas. Only if and when Hamas feels the threat of extinction can you expect any change in behavior.
FBI: Islamic State sympathizer charged in backpack bomb plot (AP)
from the article: Israel's looming war in Gaza: Can Obama stop it before it starts?