correcting case comment
improved regexps for floating point values