Skip to content

Commit 52f1710

Browse files
committed
C++: Fix QL-for-QL alert and formatting issue
1 parent 8e169d3 commit 52f1710

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private module Impl implements RegexTreeViewSig {
225225
or
226226
// No opening '"'.
227227
not re instanceof RawStringLiteral and
228-
not exists(int i | vt.charAt(i) = "\"") and
228+
not vt.charAt(_) = "\"" and
229229
result = 0
230230
)
231231
}
@@ -811,7 +811,7 @@ private module Impl implements RegexTreeViewSig {
811811

812812
/**
813813
* A normal-character term in a regular expression, that is, a sequence
814-
* of characters without special meaning or a single escaped character.
814+
* of characters without special meaning or a single escaped character.
815815
*
816816
* Examples:
817817
* ```

0 commit comments

Comments
 (0)