2 writes to LeadingPrefix
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
102
LeadingPrefix
= prefix;
166
LeadingPrefix
= prefix;
6 references to LeadingPrefix
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\RegexCompiler.cs (2)
785
opts.
LeadingPrefix
:
811
string prefix = _regexTree.FindOptimizations.
LeadingPrefix
;
System\Text\RegularExpressions\RegexFindOptimizations.cs (4)
462
int i = textSpan.Slice(0, pos).LastIndexOf(
LeadingPrefix
.AsSpan());
465
pos = i +
LeadingPrefix
.Length;
619
int i = textSpan.Slice(pos).IndexOf(
LeadingPrefix
.AsSpan());
634
int i = textSpan.Slice(pos).IndexOf(
LeadingPrefix
.AsSpan(), StringComparison.OrdinalIgnoreCase);