CodeQL library for Java
codeql/java-all 0.3.2 (changelog, source)

Predicate matchesEpsilon

Holds if t matches at least an epsilon symbol.

That is, this term does not restrict the language of the enclosing regular expression.

This is implemented as an under-approximation, and this predicate does not hold for sub-patterns in particular.

Import path

predicate matchesEpsilon(RegExpTerm t)