Fix regex for Shorten.