CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.1 (changelog, source)
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)