Fixing a bug in number regex

Last regex didn't allow numbers to start with 0 (meaning numbers like 0, 0.1 caused errors)