Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 about the Monastery: (10)
As of 2015-07-05 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls