Skip to content

Commit f7a63d5

Browse files
committed
remove duplicated line
1 parent c8d29a9 commit f7a63d5

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

javascript/ql/lib/semmle/javascript/security/performance/ReDoSUtil.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ predicate matchesEpsilon(RegExpTerm t) {
9898
matchesEpsilon(t.(RegExpBackRef).getGroup())
9999
or
100100
forex(RegExpTerm child | child = t.(RegExpSequence).getAChild() | matchesEpsilon(child))
101-
or
102-
t.(RegExpRange).getLowerBound() = 0
103101
}
104102

105103
/**

python/ql/lib/semmle/python/security/performance/ReDoSUtil.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ predicate matchesEpsilon(RegExpTerm t) {
9898
matchesEpsilon(t.(RegExpBackRef).getGroup())
9999
or
100100
forex(RegExpTerm child | child = t.(RegExpSequence).getAChild() | matchesEpsilon(child))
101-
or
102-
t.(RegExpRange).getLowerBound() = 0
103101
}
104102

105103
/**

ruby/ql/lib/codeql/ruby/security/performance/ReDoSUtil.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ predicate matchesEpsilon(RegExpTerm t) {
9898
matchesEpsilon(t.(RegExpBackRef).getGroup())
9999
or
100100
forex(RegExpTerm child | child = t.(RegExpSequence).getAChild() | matchesEpsilon(child))
101-
or
102-
t.(RegExpRange).getLowerBound() = 0
103101
}
104102

105103
/**

0 commit comments

Comments
 (0)