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

Member predicate RegExp::getPrefix

Gets the prefix of this regex

Examples:

  • The prefix of 'x*y' is '.
  • The prefix of r'' is r'.
  • The prefix of r"""x*y""" is r""".
string getPrefix()