[Israel.pm] number recognizer

Shlomo Yona shlomo at cs.haifa.ac.il
Mon May 17 11:29:57 PDT 2004


Hello,

I'm looking for a Perl Regular expression that recognizes
numbers (integers, fractions, scientific, etc.).

Examples (surely there are other possibilities which are not
covered):

7
0.49
-25
-3.134954
.57
3E9
-.3e-19

Thanks.

-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/




More information about the Perl mailing list