![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^2: Splitting strings into words when there are no separatorsby pingo (Hermit) |
on Jul 16, 2009 at 12:26 UTC ( #780686=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|