andreasgr added a comment.
In D18895#409743 <https://phabricator.kde.org/D18895#409743>, @dhaumann wrote: > ... Although, adding many RegExprs is slow compared to other rules. I understand that. I just don't see how to achieve the needed matches using other rules. E.g. a simple string rule using `== ` is not sufficient to correctly match a level 1 section title. REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D18895 To: andreasgr, #framework_syntax_highlighting, dhaumann Cc: kwrite-devel, kde-frameworks-devel, gennad, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann