Regret about a better choice in the past: “I should have…”
In casual speech this form is often shortened to just ㄹ/을 걸.
ㄹ/을 걸