Is there a reason to inline this regex?