Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Finding specific keyword in Perl

by BillKSmith (Chaplain)
on Aug 21, 2012 at 17:09 UTC ( #988800=note: print w/ replies, xml ) Need Help??


in reply to Re: Finding specific keyword in Perl
in thread Finding specific keyword in Perl

Even better, use the Regexp::Common module. Far less chance of false matches.

use Regexp::Common; my $IP_MATCH = $RE{net}{IPv4}{dec}; my ($IP) =~ $IP_MATCH;
Bill


Comment on Re^2: Finding specific keyword in Perl
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988800]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-12-20 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls