Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: words wich ends with "f"

by b10m (Vicar)
on Jun 19, 2008 at 15:23 UTC ( #692945=note: print w/ replies, xml ) Need Help??


in reply to words wich ends with "f"

I'd go with something like this (yeah, TIMTOWTDI):

$s = "four fifth two frog left leaf fred wolf"; @f = grep (/^[^f]\w*f\w*$/, split(' ', $s)); print "@f";
--
b10m


Comment on Re: words wich ends with "f"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-30 23:17 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 (273 votes), past polls