Testcase for overlap in matchall
new offset should be one index higher than start index of last match
Merge pull request #8680 from binnisb/master

RFC: Function matchall with overlaps