CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)

Member predicate FrameworkLibraryWithMarkerComment::getAMarkerCommentRegex

Gets a regular expression that can be used to identify an instance of this framework library, with <VERSION> as a placeholder for version numbers.

The first capture group of this regular expression should match the version number.

Subclasses should implement this predicate.

Callers should avoid using this predicate directly, and instead use getAMarkerCommentRegexWithoutPlaceholders(), which will replace any occurrences of the string <VERSION> in the regular expression with versionRegex().

string getAMarkerCommentRegex()