Fix relative links by regex search.