On Wed, 26 Feb 2003 16:30:56 -0800, T. Murlidharan Nair wrote:

> Is there a quick and easy way to check this. I was trying using a reg exp
> if(/^[-0-9][\.0-9]*/) {
>  do something
> }

In CPAN there's also a module
Regexp::Common
that has a lot of commonly requested regexps.
E.g. also
$RE{num}{real}


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to