3 writes to _lastMatch
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (3)
199
_lastMatch
= (rtl ? input.Length : 0, -1);
237
_lastMatch
= (match.Index, match.Length);
251
_lastMatch
= (match.Index, match.Length);
8 references to _lastMatch
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (8)
222
_currentSplit = !_regex.RightToLeft ? (
_lastMatch
.Index +
_lastMatch
.Length).._input.Length : 0..
_lastMatch
.Index;
227
(bool Success, int Index, int Length, int TextPosition) match = _regex.RunSingleMatch(RegexRunnerMode.BoundsRequired,
_lastMatch
.Length, _input, _startAt);
233
int start =
_lastMatch
.Index + Math.Max(
_lastMatch
.Length, 0);
249
int start =
_lastMatch
.Index;
255
_currentSplit = 0..
_lastMatch
.Index;