This code doesn't actually search for consecutive matches, just a subsequence of matches. I guess real consecutivity would be better.
also, nit: comment on next line, with Initial capital and trailing period.