Fix for floats regex and more thorough test for it