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)