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

Predicate Impl::matchesAnySuffix

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

Import path

import semmle.python.regexp.RegexTreeView
predicate matchesAnySuffix(RegExpTerm term)