fix some more style-guide violations in the alert-messages

This commit is contained in:
erik-krogh
2022-10-07 11:22:22 +02:00
parent 5f740a5598
commit 368f84785b
127 changed files with 1297 additions and 1282 deletions

View File

@@ -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"

View File

@@ -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"