Change regex

This commit is contained in:
Sylwia Budzynska
2024-07-30 17:39:34 +02:00
parent ef2b225144
commit dfc51922ba

View File

@@ -38,7 +38,7 @@ module Streamlit {
private class StreamlitSqlConnection extends API::CallNode {
StreamlitSqlConnection() {
exists(StringLiteral str, API::CallNode n |
str.getText().matches("sql")
str.getText() = "sql"
and
n = API::moduleImport("streamlit").getMember("connection").getACall()
and