doesn't this regex exist elsewhere already?