Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Seeking a better way to do it

by Tux (Monsignor)
on Feb 01, 2013 at 07:33 UTC ( #1016467=note: print w/ replies, xml ) Need Help??

in reply to Re: Seeking a better way to do it
in thread Seeking a better way to do it

That would also match camelCase and Some_shell, you'd want

my @wordlist = ($string =~ m{\b ([A-Z][a-z]+) \b}gx);

as BrowserUK also posted

Enjoy, Have FUN! H.Merijn

Comment on Re^2: Seeking a better way to do it
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2015-11-27 01:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (711 votes), past polls