Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ec414d commit 25cb52aCopy full SHA for 25cb52a
1 file changed
python/ql/test/extractor-tests/flags/Flags.ql
@@ -1,9 +1,8 @@
1
-
2
import python
3
4
from string k, string v
5
-where k.prefix(8) = "options." and
6
-not k.prefix(14) = "options.verbos" and
7
-py_flags_versioned(k, v, _)
+where
+ not k.matches("options.%") and
+ not k.matches("options.verbos%") and
+ py_flags_versioned(k, v, _)
8
select k, v
9
0 commit comments