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

Predicate signature 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 JavaScript.

Import path

import codeql.regex.RegexTreeView
signature predicate matchesAnyPrefix(RegExpTerm term)