Skip to content

Fix false positives for static-qregularxpression check

Alexander Lohnau requested to merge work/alex/false_positive_regex into master

In case one uses a QString literal, but adds a .arg() call later one, the warning would suggest one should use a static regex.

An example is in plasma-workspace:

QRegularExpression(QStringLiteral("Panel %1$").arg(containment()->id()))

Merge request reports