Fixed the regexp to match proper floating point numbers