mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
fix some more style-guide violations in the alert-messages
This commit is contained in:
@@ -20,5 +20,5 @@ where
|
||||
not back.getParent+() = neg and
|
||||
neg.isPartOfRegExpLiteral()
|
||||
select back,
|
||||
"This back reference always matches the empty string, since it refers to $@, which is contained in $@.",
|
||||
grp, "this capture group", neg, "a negative lookahead assertion"
|
||||
"This back reference always matches the empty string, since it refers to $@, which is contained in a $@.",
|
||||
grp, "this capture group", neg, "negative lookahead assertion"
|
||||
|
||||
@@ -32,5 +32,4 @@ where
|
||||
constantInCharacterClass(recc, rnk, repeat, val) and
|
||||
rnk > 1 and
|
||||
recc.isPartOfRegExpLiteral()
|
||||
select first, "Character '" + first + "' is repeated $@ in the same character class.", repeat,
|
||||
"here"
|
||||
select first, "Character '" + first + "' is $@.", repeat, "repeated in the same character class"
|
||||
|
||||
Reference in New Issue
Block a user