If you're using /g in list context, and only want to capture the entire match, you don't need the parenthesis.
I don't think that this contradicts what I wrote.
I was only suggesting to use parentheses rather than /g, because I wouldn't use the /g flag unless I really want to match several occurrences.
(However, as Larry Wall put it: The argument against using an operator for other than its primary
purpose strikes me the same as the old argument that you shouldn't have
sex for other than procreational purposes. Sometimes side effects
are more enjoyable than the originally intended effect.)