Update javascript/ql/src/experimental/semmle/javascript/Actions.qll

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Jaroslav Lobačevski
2021-03-17 19:49:03 +02:00
committed by GitHub
parent e3bf308952
commit 7b6773c96a

View File

@@ -307,8 +307,7 @@ module Actions {
// not just the last (greedy match) or first (reluctant match).
// TODO: This only handles expression strings that refer to contexts.
// It does not handle operators within the expression.
result =
this.getValue().regexpFind("[A-Za-z0-9_\\.\\-]+(?=\\s*\\}\\})", _, _)
result = this.getValue().regexpFind("[A-Za-z0-9_\\.\\-]+(?=\\s*\\}\\})", _, _)
}
}
}