in reply to Re: Find nonnumeric scalars
in thread Find nonnumeric scalars
Scalars -7, 4.55, and 10e6 are all numeric. Your regex /^\d+$/ tests only for positive integers.
Update: Minor tpyo
Update 2: hotpelmen has now completely altered the content of her/his original post, without indicating that (s)he has made any changes (note to hotpelmen: this is considered Bad Form on PM).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Find nonnumeric scalars
by hotpelmen (Scribe) on Jan 29, 2015 at 21:08 UTC | |
|
Re^3: Find nonnumeric scalars
by hotpelmen (Scribe) on Jan 29, 2015 at 19:19 UTC |