I am working with some sample code generously given to me by this answer, and when i enter a long string to match it crashes at some point with an IndexOutOfRangeException. What’s strange is that when i inspect the string, it appears to be set to the words “System.Char[]”. Why does this happen, and how can i fix it?
Share
This code:
Should be, as Jon suggests: