CodeQL library for Java/Kotlin
codeql/java-all 0.11.0 (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)