remove trailing slash from shorturl regex