Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Regular Expressions questionby NetWallah (Canon) |
on Oct 29, 2012 at 20:49 UTC ( [id://1001425]=note: print w/replies, xml ) | Need Help?? |
I think the "\G" in the regex is preventing the match. I'm not clear on what it's purpose is. Try "\b" instead - to me that makes more sense. "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius
In Section
Seekers of Perl Wisdom
|
|