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

Predicate Impl::getFlags

Gets the flags for root, or the empty string if root has no flags.

Import path

import semmle.code.java.regex.RegexTreeView
string getFlags(RegExpTerm root)