http://qs321.pair.com?node_id=11125403


in reply to Re^2: getting next word or number after another
in thread getting next word or number after another

Thanks for your comment. My interpretation of the document required the \G. I would still recommend using it because it calls attention to the /g on the first match which is there only for its effect on the second match.
Bill