Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Seeking a better way to do it

by Tux (Abbot)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016467]
help
Chatterbox?
[1nickt]: Ya gotta love the google. If you set accept=".txt" in a form input field where type="file", Chrome will allow you to select local files with extensions like .pl, .pm, .yaml, .ini etc. Nice!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.