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

Module RegexFlowConfigs

Defines configurations and steps for handling regexes

Import path

import semmle.code.java.regex.RegexFlowConfigs

Imports

ExternalFlow

INTERNAL use only. This is an experimental API subject to change without notice.

java

Provides all default Java QL imports.

Predicates

regexMatchedAgainst

Holds if the string literal regex is a regular expression that is matched against the expression str.

usedAsRegex

Holds if regex is used as a regex, with the mode mode (if known). If regex mode is not known, mode will be "None".

Classes

RegexAdditionalFlowStep

A unit class for adding additional regex flow steps.