We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff2313 commit 7189470Copy full SHA for 7189470
src/SeerCppSourceHighlighter.cpp
@@ -94,7 +94,7 @@ void SeerCppSourceHighlighter::setHighlighterSettings (const SeerHighlighterSett
94
_highlightingRules.append(rule);
95
96
// Set function format and expression.
97
- rule.pattern = QRegularExpression(QStringLiteral("\\b[A-Za-z0-9_]+(?=\\()"));
+ rule.pattern = QRegularExpression(QStringLiteral("\\b[A-Za-z0-9_]+(?=\\s*\\()"));
98
rule.format = _functionFormat;
99
100
0 commit comments