зеркало из https://github.com/github/codeql.git
Accept review suggestion fixing a comment
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Родитель
d4e8e4c943
Коммит
081f32141c
|
@ -34,10 +34,10 @@ class Package extends @package {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets a regex which matches major version suffixes.
|
||||
* Gets a regex that matches major version suffixes.
|
||||
*
|
||||
* For example, this will match "/v2" followed by the end of a string or a "/"
|
||||
* (but it won't include the end of the strong or the "/" in the match).
|
||||
* 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).
|
||||
*/
|
||||
string majorVersionSuffixRegex() { result = "[./]v\\d+(?=$|/)" }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче