In the expression: ""_d+n This is considered as a string while there is an operator- The suggested fix is to replace <RegExpr attribute="String" context="#pop#pop" String="_[_0-9A-Z-a-z]*\b" /> with <RegExpr attribute="String" context="#pop#pop" String="_[_0-9A-Za-z]*\b" /> Implemented here: https://github.com/jonathanpoelen/syntax-highlighting/commit/9b5b451830a4d777beea556eaeb9a6e0886b1802
Git commit da8357644d3c620839598403e07fa0c37ca323d0 by Dominik Haumann. Committed on 23/07/2017 at 08:51. Pushed by dhaumann into branch 'master'. C++: Fix '-' is not a part of UDL String FIXED-IN: 5.37 M +1 -1 autotests/folding/highlight.cpp.fold M +1 -1 autotests/html/highlight.cpp.html M +1 -1 autotests/input/highlight.cpp M +1 -1 autotests/reference/highlight.cpp.ref M +4 -5 data/syntax/isocpp.xml https://commits.kde.org/syntax-highlighting/da8357644d3c620839598403e07fa0c37ca323d0