in reply to Re^2: Regex: continue from previous match
in thread Regex: continue from previous match

I guess to find the stuff between matches as well as the matches, I need to put it explicitly within a capture too.

Either do \G(.*?)$your_regex_here and have the stuff between matches in $1, or you could just store the previous value of pos + length(match), and then get the stuff between matches with substr.