System.Text.RegularExpressions.RegexRunner.DoubleTrack C# (CSharp) Method

DoubleTrack() protected method

Called by the implementation of Go() to increase the size of the backtracking stack.
protected DoubleTrack ( ) : void
return void
        protected void DoubleTrack()
        {
            int[] newtrack;

            newtrack = new int[runtrack.Length * 2];

            Array.Copy(runtrack, 0, newtrack, runtrack.Length, runtrack.Length);
            runtrackpos += runtrack.Length;
            runtrack = newtrack;
        }