Ken Yeo wrote: > > Hi, Hello,
> What is the best pattern matching for ip addresses? I tried $var =~
> /\b\d{1-3}\.\d{1-3}\.\d{1-3}\.\d{1-3}\s/ but the {1-3} didn't work, please
> advise, TIA!
The correct syntax is to use a comma. \d{1,3}
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
