add check: Use Static QRegularExpression
This check checks for cases like:
if (QString.contains(QRegularExpression("[a-z]")) { ... }
and suggests to use a static
QRegularExpression
instance because
QRegularExpression
will compile the pattern each time which can be
bad for performance.