in reply to Re: Some odd ambiguity in this regex (updated)in thread Some odd ambiguity in this regex
It's often the result of using the nonsensical if (/.../g)
$ perl -e' $_ = "abc"; if (/\w/g) { CORE::say for /(\w)/g; } ' b c [download]