They have the same meanings. For me, using "wish" is more natural. The word "wish" is usually associated with positive feelings. The word "regret" is often associated with negative feelings. So, to say "I wish you were here" or "I wish you had been here" sounds more positive to me. Even "I wish you hadn't been here" sounds a little more positive, even though the situation was probably negative.