We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52330e8 commit 2b0def1Copy full SHA for 2b0def1
javascript/ql/test/library-tests/RegExp/IsRegex/tst.js
@@ -4,3 +4,8 @@ function detectRegexViaSplice(string) {
4
let found = getMyThing().search('regex'); // NOT OK
5
arr.splice(found, 1);
6
};
7
+
8
+function detectRegexViaToSpliced(string) {
9
+ let found = getMyThing().search('regex'); // NOT OK -- Should be marked as regular expression but it is not.
10
+ arr.toSpliced(found, 1);
11
+};
0 commit comments