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