Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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

Replies are listed 'Best First'.
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 pondering the Monastery: (14)
As of 2016-06-27 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (341 votes). Check out past polls.