CodeQL library for JavaScript
Search

Predicate RegExp::isWildcardLike

Holds if term matches any character except for explicitly listed exceptions.

For example, holds for ., [^<>], or \W, but not for [a-z], \w, or [^\W\S].

Import path

import javascript
predicate isWildcardLike(RegExpTerm term)