To chain matches, you’d usually use /gc, not just /g. Plain /g in scalar context is almost always associated with repeated match attempts for the same pattern.
Makeshifts last the longest.
In reply to Re^3: /g matches not really global in scalar context!
by Aristotle
in thread /g matches not really global in scalar context!
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |