We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 580fd57 commit b666679Copy full SHA for b666679
docs/writing-rules/rule-syntax.md
@@ -688,6 +688,8 @@ The `comparison` key accepts a Python expression using:
688
- Lists, together with the `in`, and `not in` infix operators.
689
- Strings, together with the `in` and `not in` infix operators, for substring containment.
690
- Function `re.match()` to match a regular expression (without the optional `flags` argument).
691
+- Function `lower()` converts strings to lower case.
692
+- Function `upper()` converts strings to upper case.
693
694
You can use Semgrep metavariables such as `$MVAR`, which Semgrep evaluates as follows:
695
0 commit comments