Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Pattern match

by esskar (Deacon)
on Jan 17, 2006 at 21:14 UTC ( #523840=note: print w/ replies, xml ) Need Help??


in reply to Pattern match

$mystring = "Rescue21_binaries_V5.0.29.0_patch_R5.0.24.1_DiffList.txt" +; if( $mystring =~ m/Rescue21.*_patch_.*DiffList.txt/ ) { print "Matched\n"; }
i suggest you read perldoc perlretut and perldoc perlre


Comment on Re: Pattern match
Download Code

Log In?
Username:
Password:

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

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

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





    Results (41 votes), past polls