9 references to NonBacktracking
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Regex.cs (2)
99if ((options & RegexOptions.NonBacktracking) != 0) 152((options & RegexOptions.NonBacktracking) != 0 && (options & (RegexOptions.ECMAScript | RegexOptions.RightToLeft)) != 0))
System\Text\RegularExpressions\Regex.Timeout.cs (1)
57/// (<see cref="RegexOptions.NonBacktracking"/>), as the purpose of the timeout is to thwart excessive backtracking. Such implementations
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
84bool dfa = (options & RegexOptions.NonBacktracking) != 0;
System\Text\RegularExpressions\RegexNode.cs (5)
339if ((Options & (RegexOptions.RightToLeft | RegexOptions.NonBacktracking)) == 0) 414(Options & (RegexOptions.RightToLeft | RegexOptions.NonBacktracking)) != 0) 600if ((Options & RegexOptions.NonBacktracking) != 0) 1798Debug.Assert((Options & RegexOptions.NonBacktracking) == 0, "Atomic groups aren't supported and don't help performance with NonBacktracking"); 2789if ((Options & RegexOptions.NonBacktracking) != 0)