CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-dev (changelog, source)
Search

Predicate Templating::getDelimiterMatchingRegexpWithPrefix

Gets a regular expression that matches a string containing one of the known template delimiters identified by getADelimiter(), storing it in its first (and only) capture group. Where the string prior to the template delimiter matches the regexp prefix.

Import path

import javascript
string getDelimiterMatchingRegexpWithPrefix(string prefix)