CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module Regexp

Provides classes for working with regular expressions.

Regular expression literals are represented as an abstract syntax tree of regular expression terms.

Import path

import codeql.ruby.Regexp

Imports

RegExpTreeView

Provides a class hierarchy corresponding to a parse tree of regular expressions.

Predicates

getTermForExecution

Gets a parsed regular expression term that is executed at exec.

regExpSource

Gets a node whose value may flow (inter-procedurally) to re, where it is interpreted as a part of a regular expression.

Classes

RegExpPatternSource

A node whose value may flow to a position where it is interpreted as a part of a regular expression.

StdLibRegExpInterpretation

A node interpreted as a regular expression. Speficically nodes where string values are interpreted as regular expressions.

Modules

RegExpInterpretation

Provides a class for modeling regular expression interpretations.

RegExpPatterns

Provides utility predicates related to regular expressions.