Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: dont consider if (......)

by ungalnanban (Pilgrim)
on Mar 01, 2010 at 08:27 UTC ( #825846=note: print w/ replies, xml ) Need Help??


in reply to Re: dont consider if (......)
in thread dont consider if (......)

Is this you are expecting?
Example.

my $data=<STDIN>; if($data =~ /ipw\.r[^a-p][a-z]*/) { print "Match\n"; } else { print "Not Match\n"; }
OutPut
ipw.raasdfdsf Not Match ipw.raasdfdsf Not Match ipw.rgdfgsdfsd Not Match ipw.rrwgorga Match


Comment on Re: dont consider if (......)
Select or Download Code
Re^2: dont consider if (......)
by venkatperl55 on Mar 01, 2010 at 12:14 UTC

    Yeah,This what i want.

    Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-09-20 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls