in reply to Re^2: /m pattern matching modifierin thread /m pattern matching modifier
'g' is not restricted to list context. If you use a regex on a specific variable multiple times with the 'g' modifier you will get all the matches one by one.