CodeQL library for Python
codeql/python-all 1.0.1 (changelog, source)

Datatype TRegExpParent

An element containing a regular expression term, that is, either a string literal (parsed as a regular expression) or another regular expression term.

For sequences and alternations, we require at least one child. Otherwise, we wish to represent the term differently. This avoids multiple representations of the same term.

Import path

import semmle.python.regexp.RegexTreeView

Known direct subtypes