Regex.Match has a .Success and .NextMatch why doesnt it have a GetEnumerator function?
With my logic it seems easy enough to implement. But it isnt in 3.5 so can anyone tell me why not?
foreach (var m in Regex.Match("dummy text", "mm")) error CS1579: foreach statement cannot operate on variables of type System.Text.RegularExpressions.Match because System.Text.RegularExpressions.Match does not contain a public definition for GetEnumerator