qtil
advanced-security/qtil-go 0.0.3
Search

Predicate majorVersionSuffixRegex

Gets a regex that matches major version suffixes.

For example, this will match “/v2” followed by the end of the string or a “/” (but it won’t include the end of the string or the “/” in the match).

Import path

import semmle.go.Packages
string majorVersionSuffixRegex()