Swansea City winger Nathan Dyer says he has no regrets over his career after announcing his retirement from professional football at the age of 33.