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

Class Impl::RegExpLiteral

A string literal used as a regular expression

Import path

import semmle.python.regexp.RegexTreeView

Direct supertypes

Indirect supertypes

Fields

Predicates

getChild

Gets the ith child term.

getFlags

Get a string representing all modes for this regex.

getPrimaryQLClass

Gets the primary QL class for this regex.

getRegex

Gets the associated regex.

isDotAll

Holds if dot, ., matches all characters, including newlines.

isIgnoreCase

Holds if this regex matching is case-insensitive for this regex.

Inherited predicates

getAChild

Gets a child term .

from RegExpParent
getLastChild

Gets the last child term of this element.

from RegExpParent
getNumChild

Gets the number of child terms.

from RegExpParent
toString

Gets a textual representation of this element.

from RegExpParent

Charpred