CodeQL library for JavaScript
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)