fixed floating point number regex, added test