Python Extract Regex From String To Float Cpp Brakes