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

Member predicate RegExp::alternationOption

Whether the text in the range start,end is an alternation and the text in part_start, part_end is one of the options in that alternation.

predicate alternationOption(int start, int end, int part_start, int part_end)