Update Regex
use of SearchValues<string>
to be OrdinalCaseInsensitive
#91645
Labels
Milestone
Regex
use of SearchValues<string>
to be OrdinalCaseInsensitive
#91645
SearchValues<string>
supportsOrdinalIgnoreCase
. As of #88400,Regex
currently only usesOrdinal
, which means if it actually began with multiple ignore-case prefixes, it tries to create every cased permutation of their letters, and other than for extremely short prefixes, will quickly give up. We can instead teach its analysis to be able to useOrdinalIgnoreCase
, which will lead to significantly better speedups on the relevant cases.The text was updated successfully, but these errors were encountered: