GeneratedRegex has an overload with a matchTimeoutMilliseconds argument [📖 docs]. Consider making a call like AppDomain.CurrentDomain.SetData("REGEX_DEFAULT_MATCH_TIMEOUT", TimeSpan.FromMilliseconds(100)) when REGEX_DEFAULT_MATCH_TIMEOUT (or its equivalent) is not explicitly set.
📖 see https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-regex#use-time-out-values
GeneratedRegexhas an overload with amatchTimeoutMillisecondsargument [📖 docs]. Consider making a call likeAppDomain.CurrentDomain.SetData("REGEX_DEFAULT_MATCH_TIMEOUT", TimeSpan.FromMilliseconds(100))whenREGEX_DEFAULT_MATCH_TIMEOUT(or its equivalent) is not explicitly set.📖 see https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-regex#use-time-out-values