Shorten up some regex.