Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by ungalnanban (Pilgrim)
on Mar 01, 2010 at 08:27 UTC ( [id://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'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-19 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found