We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0af1976 commit 2d246a4Copy full SHA for 2d246a4
1 file changed
ql/ql/src/codeql_ql/style/docs/NonUSSpellingQuery.qll
@@ -18,7 +18,7 @@ predicate contains_non_us_spelling(string s, string wrong, string right) {
18
wrong != "analyse"
19
or
20
// analyses (as a noun) is fine
21
- s.regexpMatch(".*analyse[^s].*") and
+ s.regexpReplaceAll("[\\r\\n]", " ").regexpMatch(".*analyse[^s].*") and
22
wrong = "analyse"
23
)
24
}
0 commit comments