Directly on the code
was reg1 = /^[+-]?[\d]+([\.][\d]+)?([Ee][+-]?[\d]+)?$/
Positive and negative numbers can be identified, and its representation in scientific notation.
Directly on the code
was reg1 = /^[+-]?[\d]+([\.][\d]+)?([Ee][+-]?[\d]+)?$/
Positive and negative numbers can be identified, and its representation in scientific notation.