Most technology purchases come with high degree of regret, Gartner says