http://www.perlmonks.org?node_id=1001425


in reply to Re: Regular Expressions question
in thread Regular Expressions question

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