System\Text\RegularExpressions\Regex.cs (6)
75RegexTree tree = Init(pattern, RegexOptions.None, s_defaultMatchTimeout, ref culture);
95RegexTree tree = Init(pattern, options, matchTimeout, ref culture);
119private RegexTree Init(string pattern, RegexOptions options, TimeSpan matchTimeout, [NotNull] ref CultureInfo? culture)
127RegexTree tree = RegexParser.Parse(pattern, options, culture);
217private static RegexRunnerFactory? Compile(string pattern, RegexTree regexTree, RegexOptions options, bool hasTimeout) =>
252RegexTree tree = RegexParser.Parse(pattern, options, (options & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture);