Commit 4093e3f2 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Explain the FIXME comment a bit

parent b2e0cf4d
......@@ -73,7 +73,9 @@ public:
QString str =;
for (const auto& string : m_filterStrings) {
// FIXME: need to do to better here
// FIXME: This will skip the letter 'b' if the string
// has only one letter so that we don't match inside
// <b> tags.
if (string == QLatin1String("b"))
const QRegularExpression re (QStringLiteral("(")+QRegularExpression::escape(string)+QStringLiteral(")"), QRegularExpression::CaseInsensitiveOption);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment