in reply to Float regex matching
I expect you can compare these two to see.
perl -le 'print "OK" if 0.0 =~ /^\d+$/' perl -le 'print "OK" if "0.0" =~ /^\d+$/'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Float regex matching
by Anonymous Monk on Feb 24, 2016 at 16:21 UTC | |
by AnomalousMonk (Archbishop) on Feb 24, 2016 at 16:58 UTC |