Fix regex when multiple links per line