System.Text.RegularExpressions.Interpreter.Backtrack C# (CSharp) Method

Backtrack() private method

private Backtrack ( int cp ) : void
cp int
return void
		private void Backtrack (int cp) {
			Debug.Assert (cp > mark_start, "Regex", "Attempt to backtrack forwards");
			for (int i = 0; i < groups.Length; ++ i) {
				int m = groups [i];
				while (cp <= m)
					m = marks [m].Previous;

				groups [i] = m;
			}
		}