Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Regex Anchors confusionby inman (Curate) |
on May 18, 2005 at 14:23 UTC ( [id://458225]=note: print w/replies, xml ) | Need Help?? |
The second test is looking for a word boundary, followed by a space, followed by a word boundary, followed by the end of the string.
The pattern doesn't match your data. I can't immediately think of a situation where / \b$/ would ever match.
In Section
Seekers of Perl Wisdom
|
|