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