Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 romping around the Monastery: (11)
As of 2015-07-28 23:24 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 (260 votes), past polls