CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)

Member predicate RegexString::charRange

Holds if the character set starting at charset_start contains a character range with lower bound found between start and lower_end and upper bound found between upper_start and end.

predicate charRange(int charset_start, int start, int lower_end, int upper_start, int end)