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

Member predicate RegExp :: qualifiedPart

Holds if a qualified part is found between start and part_end and the qualifier is found between part_end and end.

maybe_empty is true if the part is optional. may_repeat_forever is true if the part may be repeated unboundedly.

predicate qualifiedPart ( int start , int part_end , int end , boolean maybe_empty , boolean may_repeat_forever )