Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Splitting strings into words when there are no separators

by pingo (Hermit)
on Jul 16, 2009 at 12:26 UTC ( #780686=note: print w/replies, xml ) Need Help??


in reply to Re: Splitting strings into words when there are no separators
in thread Splitting strings into words when there are no separators

Ok, so this may be four years late, but still... For the benefit of someone who stumbles across this.

If you don't mind being English-specific, the (\w{2,}) bit could be extended slightly to (\w{2,}|[aAiI]). Makes "a" and "I" match too.

Replies are listed 'Best First'.
Re^3: Splitting strings into words when there are no separators
by japhy (Canon) on Jul 23, 2009 at 16:21 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://780686]
help
Chatterbox?
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 2022-05-21 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (77 votes). Check out past polls.

    Notices?