2 references to FindPrefix
System.Text.RegularExpressions.Generator (2)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
69
string? prefix = RegexPrefixAnalyzer.
FindPrefix
(root);
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
1154
if (
FindPrefix
(nextChild) is { Length: >= 1 } prefix)