Alex Chen wrote at Sun, 18 Aug 2002 17:14:21 +0200:

>   i am a beginners in perl.i am studying perl regex now ,and i want to know
> how to make a regex for a ip address.

Have a look to the
Regexp::Common
module from the CPAN.

$RE{net}{IPv4} contains the regexp to match an ip address.


Best Wishes,
Janek


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

Reply via email to