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

Predicate isConcatenatedWithStrings

Holds if n is concatenated between two string constants that match lRegexp and rRegexp respectively.

Import path

import semmle.javascript.heuristics.SyntacticHeuristics
predicate isConcatenatedWithStrings(string lRegexp, ConcatenationLeaf n, string rRegexp)