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

Member predicate RegExp :: multiples

Holds if a repetition quantifier is found between start and end, with the given lower and upper bounds. If a bound is omitted, the corresponding string is empty.

predicate multiples ( int start , int end , string lower , string upper )