Dim m As Matcher = Regex.Matcher2('pattern', 'options', 'text')
Do While m.Find
Log("Match: " & m.Match)
For g = 1 To m.GroupCount
Log("Group #" & g & ": " & m.Group(g))
Next
Loop
Dim m As Matcher = Regex.Matcher2('pattern', 'options', 'text')
Do While m.Find
Log("Match: " & m.Match)
For g = 1 To m.GroupCount
Log("Group #" & g & ": " & m.Group(g))
Next
Loop