I'm looking for the fastest way to get this test.
So functions
, operands
and everything else is allowed.
I tried with the following regex
(I'm not an expert):
0\.[0-9]+|100\.0+|100|[1-9]\d{0,1}\.{0,1}[0-9]+
It works except that it erroneously accept 0.0
or 0.000000
and so on.
Also it's not the most appropriated and fastest way.
(if anybody wants to fix the regex to don't allow those 0.00
values it would be appreciated)`