Well, your regexp won't properly identify:
1.5 -3 -2.89 .32 0.5 -.01
...as numbers. It will also fail to reject empty strings.
Dave
In reply to Re: I don't understand.
by davido
in thread Detecting if a scalar has a number or string
by rrwo
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |