in reply to RE: RE: Getting an IP out of a string
in thread Getting an IP out of a string
Is it an IP address? Nope, it's an RCS version number, and blindly assuming it's an IP address would be wrong at best and dangerous at worst.1.41.1.1
will select only the "IP address" texts from $_ for whatever regex you choose, without the danger of relying on $1.@ip_addrs = m/{regex to match IP}/g;
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: RE: RE: Getting an IP out of a string
by the_slycer (Chaplain) on Aug 17, 2000 at 19:33 UTC |