We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 075041f commit dc26a57Copy full SHA for dc26a57
actions/ql/lib/codeql/actions/ast/internal/Ast.qll
@@ -27,8 +27,8 @@ string getADelimitedExpression(YamlString s, int offset) {
27
// not just the last (greedy match) or first (reluctant match).
28
result =
29
s.getValue()
30
- .regexpFind("\\$\\{\\{(?:[^}]|}(?!}))*\\}\\}", _, offset)
31
- .regexpCapture("(\\$\\{\\{(?:[^}]|}(?!}))*\\}\\})", 1)
+ .regexpFind("\\$\\{\\{(?:[^}]|}(?!}))*+\\}\\}", _, offset)
+ .regexpCapture("(\\$\\{\\{(?:[^}]|}(?!}))*+\\}\\})", 1)
32
.trim()
33
}
34
0 commit comments