https://learn.microsoft.com/ja-jp/dotnet/api/system.text.regularexpressions.regex.infinitematchtimeout?view=netframework-4.8.1&viewFallbackFrom=net-10.0
Regex.InfiniteMatchTimeout Field (System.Text.RegularExpressions) | Microsoft Learn
Specifies that a pattern-matching operation should not time out.
field systemregextextmicrosoftlearn