In reply to Oh, the shame by boo_radley in thread Delving the regexp underdark -- how to understand \G's behavior, or how to loop through a regular expression by boo_radley