I wish I had; I'm gladWith 〜ればよかったなあ, it expresses regret that something was not done: “I wish I had done it.” With 〜なければよかったなあ, it expresses regret that something was done: “I wish I hadn’t done it.” It can also express relief or satisfaction, meaning “I’m glad.” なあ adds an emotional, reflective tone.