Fix regex for cp_version testing.