|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: First wordby haoess (Curate) |
| on Apr 24, 2008 at 08:56 UTC ( #682585=note: print w/ replies, xml ) | Need Help?? |
|
As you can see, \w matches a word character, and \b marks the end of the first word (since we're matching the beginning aka ^ of the string). More information at perlre. -- Frank
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||