Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Regex code assertion should be able to fail

by nobull (Friar)
on Sep 06, 2007 at 17:22 UTC ( [id://637481]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @known_animal{ qw( cat dog fox horse rabbit rat ) } = (); 
    @animals = /\b(\w++)(?{ exists $known_animal{$^N} }?)/g;
    print "@animals\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found