Change regex for urls to allow missing trailing slash