Welcome to the Monastery | |
PerlMonks |
Re: First wordby haoess (Curate) |
on Apr 24, 2008 at 08:56 UTC ( [id://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
|
|