whoops - we need to compile this regex every time