[Israel.pm] number recognizer

Shlomo Yona shlomo at cs.haifa.ac.il
Mon May 17 12:30:38 PDT 2004


On Mon, 17 May 2004, Gaal Yahas wrote:

> On Mon, May 17, 2004 at 09:29:57PM +0300, Shlomo Yona wrote:
> > I'm looking for a Perl Regular expression that recognizes
> > numbers (integers, fractions, scientific, etc.).
> 
> Regexp::Common::number.

This is not exactly what I need (I think):

I need a regular expression that will either accept or
reject a string depending if the string is a number or not a
number.

The module you suggest serves as a parser for numbers.

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




More information about the Perl mailing list