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

Predicate Impl::matchesAnyPrefix

Holds if the regex that term is part of is used in a way that ignores any leading prefix of the input it’s matched against. Not yet implemented for Ruby.

Import path

import codeql.ruby.regexp.RegExpTreeView
predicate matchesAnyPrefix(RegExpTerm term)