CodeQL library for JavaScript
Search

Predicate RegExp::isFullyAnchoredTerm

Holds if term and all of its disjuncts are anchored on both ends.

Import path

import javascript
predicate isFullyAnchoredTerm(RegExpTerm term)