Skip to content

Commit e3bf308

Browse files
committed
Removed positive lookbehind
1 parent 8445ec6 commit e3bf308

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/experimental/semmle/javascript

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ module Actions {
308308
// TODO: This only handles expression strings that refer to contexts.
309309
// It does not handle operators within the expression.
310310
result =
311-
this.getValue().regexpFind("(?<=\\$\\{\\{\\s*)[A-Za-z0-9_\\.\\-]+(?=\\s*\\}\\})", _, _)
311+
this.getValue().regexpFind("[A-Za-z0-9_\\.\\-]+(?=\\s*\\}\\})", _, _)
312312
}
313313
}
314314
}

0 commit comments

Comments
 (0)