Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Extract sequence of UC words?by JavaFan (Canon) |
on Aug 18, 2008 at 16:22 UTC ( [id://704978]=note: print w/replies, xml ) | Need Help?? |
What I would use depends on your definition of "word" and "sequence". Clearly, in your example, "TEST" and "SENTENCE" are capitalized words. But is "STRATFORD-UPON-AVON" a capitalized word? How about "HE'S"? Is that a capitalized word? Or a sequence of capitalized words? What about "This is a TEST. THE test ends here."? Is "TEST. THE" a sequence of words?
In Section
Seekers of Perl Wisdom
|
|