mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
add a!=b to the overlap predicate
This commit is contained in:
@@ -42,7 +42,8 @@ predicate isAlphanumeric(string char) {
|
||||
predicate overlap(RegExpCharacterRange a, RegExpCharacterRange b) {
|
||||
exists(RegExpCharacterClass clz |
|
||||
a = clz.getAChild() and
|
||||
b = clz.getAChild()
|
||||
b = clz.getAChild() and
|
||||
a != b
|
||||
|
|
||||
exists(int alow, int ahigh, int blow, int bhigh |
|
||||
isRange(a, alow, ahigh) and
|
||||
|
||||
Reference in New Issue
Block a user