28 references to RightToLeft
System.Text.RegularExpressions (28)
System\Text\RegularExpressions\Regex.Count.cs (2)
23RunAllMatchesWithCallback(input, RightToLeft ? input.Length : 0, ref count, static (ref int count, Match match) => 38Count(input, RightToLeft ? input.Length : 0);
System\Text\RegularExpressions\Regex.cs (4)
437if (RightToLeft) 478if (RightToLeft) 579if (RightToLeft) 660protected bool UseOptionR() => RightToLeft;
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (1)
78new ValueMatchEnumerator(this, input, RightToLeft ? input.Length : 0);
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (4)
134EnumerateSplits(input, count, startat: RightToLeft ? input.Length : 0); 169return new ValueSplitEnumerator(this, input, count, startat, RightToLeft); 222_currentSplit = !_regex.RightToLeft ? (_lastMatch.Index + _lastMatch.Length).._input.Length : 0.._lastMatch.Index; 231if (!_regex.RightToLeft)
System\Text\RegularExpressions\Regex.Match.cs (5)
80return RunSingleMatch(RegexRunnerMode.ExistenceRequired, -1, input, 0, input.Length, RightToLeft ? input.Length : 0) is null; 104IsMatch(input, RightToLeft ? input.Length : 0); 145return RunSingleMatch(RegexRunnerMode.FullMatchRequired, -1, input, 0, input.Length, RightToLeft ? input.Length : 0)!; 172return RunSingleMatch(RegexRunnerMode.FullMatchRequired, -1, input, beginning, length, RightToLeft ? beginning + length : beginning)!; 200return new MatchCollection(this, input, RightToLeft ? input.Length : 0);
System\Text\RegularExpressions\Regex.Replace.cs (5)
45return Replace(input, replacement, -1, RightToLeft ? input.Length : 0); 60return Replace(input, replacement, count, RightToLeft ? input.Length : 0); 114return Replace(evaluator, this, input, -1, RightToLeft ? input.Length : 0); 128return Replace(evaluator, this, input, count, RightToLeft ? input.Length : 0); 177if (!regex.RightToLeft)
System\Text\RegularExpressions\Regex.Split.cs (3)
38return Split(this, input, 0, RightToLeft ? input.Length : 0); 52return Split(this, input, count, RightToLeft ? input.Length : 0); 91if (!regex.RightToLeft)
System\Text\RegularExpressions\RegexReplacement.cs (2)
211if (!regex.RightToLeft && !_hasBackreferences) 300if (!regex.RightToLeft)
System\Text\RegularExpressions\RegexRunner.cs (2)
192if (regex.RightToLeft) 238if (regex.RightToLeft)