Optimize short URL regexp