Scientific notation regex I
Problem:
1e+00
and
1e1
are not handled
Remedy: zero or more digits behind the dot, optional e/E, optional sign in exponent, more digits in the exponent (
1e001
):
-?\d\.?\d*[Ee][+\-]?\d+