Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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
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 lurking in the Monastery: (8)
As of 2020-11-25 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?