Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Regular expression help

by ChOas (Curate)
on Oct 23, 2008 at 07:02 UTC ( #718968=note: print w/ replies, xml ) Need Help??


in reply to Regular expression help

You mean literally ?

print "'$&'\n" while ($string=~/\bRequired\b/g);


GreetZ!,
    ChOas

print "profeth still\n" if /bird|devil/;


Comment on Re: Regular expression help
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-23 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (133 votes), past polls