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

Module ParseRegExp

Library for parsing for Ruby regular expressions.

N.B. does not yet handle stripping whitespace and comments in regexes with the x (free-spacing) flag.

Import path

import codeql.ruby.regexp.internal.ParseRegExp

Classes

RegExp

A StringlikeLiteral containing a regular expression term, that is, either a regular expression literal, or a string literal used in a context where it is parsed as regular expression.