Changing the way to count numbers.
Fixing pregmatch for float numbers, if an exponent was given (e) it was taken as a literal rather as part of the float.