Fix bug in wrapped link regexp