in reply to Re^2: /g matches not really global in scalar context!
in thread /g matches not really global in scalar context!
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.
|
|---|