CodeQL library for C/C++
codeql/cpp-all 0.13.1 (changelog, source)

Member predicate File::getExtensions

Gets the remainder of the base name after the first dot character. Note that the name of this predicate is in plural form, unlike getExtension, which gets the remainder of the base name after the last dot character.

Predicates getStem and getExtension should be preferred over getShortName and getExtensions since the former pair is compatible with the file libraries of other languages. Note the slight difference between this predicate and getStem: for example, for “file.tar.gz”, this predicate will have the result “tar.gz”, while getExtension will have the result “gz”.

string getExtensions()