Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 chanting in the Monastery: (12)
As of 2015-03-30 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (652 votes), past polls