fix urls to use simpler regex