Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by pingo (Hermit)
on Jul 16, 2009 at 12:26 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found