The regex verifies floating point numbers in decimal or scientific notation with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!