CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)
Search

Predicate signature isEscapeClass

Holds if term is an escape class representing e.g. \d. clazz is which character class it represents, e.g. ā€œdā€ for \d.

Import path

import codeql.regex.RegexTreeView
signature predicate isEscapeClass(RegExpTerm term, string clazz)