Test the url regex.