|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Regex word boundary and escaped charactersby Paladin (Curate) |
| on Jan 26, 2005 at 23:13 UTC ( #425415=note: print w/ replies, xml ) | Need Help?? |
|
No, it's doing exactly as it states. @ matches \W and the start of the string also "matches" \W, so there is no \b between them. Same goes for the string starting with +. In the third example, t matches \w so the \b matches the space between the start of the string (\W) and the t (\w)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||