9 references to NonBacktracking
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Regex.cs (2)
99
if ((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)
84
bool dfa = (options & RegexOptions.
NonBacktracking
) != 0;
System\Text\RegularExpressions\RegexNode.cs (5)
339
if ((Options & (RegexOptions.RightToLeft | RegexOptions.
NonBacktracking
)) == 0)
414
(Options & (RegexOptions.RightToLeft | RegexOptions.
NonBacktracking
)) != 0)
600
if ((Options & RegexOptions.
NonBacktracking
) != 0)
1798
Debug.Assert((Options & RegexOptions.
NonBacktracking
) == 0, "Atomic groups aren't supported and don't help performance with NonBacktracking");
2789
if ((Options & RegexOptions.
NonBacktracking
) != 0)