in reply to number regex (incl sci notation)
This is a faq. Try some of the other possibilities listed from perldoc -q number.
My personal recommendation is to use Scalar::Util. It includes a routine looks_like_number that will handle anything that Perl thinks is a number.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: number regex (incl sci notation)
by jim_neophyte (Sexton) on Dec 07, 2004 at 20:16 UTC | |
|
Re^2: number regex (incl sci notation)
by rrwo (Friar) on Dec 07, 2004 at 20:21 UTC | |
by tye (Sage) on Dec 08, 2004 at 06:24 UTC |