CodeQL library for JavaScript
Search

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()