mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Update javascript/ql/src/semmle/javascript/security/performance/SuperlinearBackTracking.qll
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
e16fa0668a
commit
342b6a4f2d
@@ -147,7 +147,7 @@ class PolynomialBackTrackingTerm extends InfiniteRepetitionQuantifier {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if all non-empty successors to the polynimial backtracking term matches the end of the line.
|
||||
* Holds if all non-empty successors to the polynomial backtracking term matches the end of the line.
|
||||
*/
|
||||
predicate isAtEndLine() {
|
||||
forall(RegExpTerm succ | this.getSuccessor+() = succ and not matchesEpsilon(succ) |
|
||||
|
||||
Reference in New Issue
Block a user