url_regex: do not match URLs ending with dot