speed up call by making regular expressiona global so we dont compile in every call