https://bugs.kde.org/show_bug.cgi?id=380408

            Bug ID: 380408
           Summary: [PATCH] C++: '-' is not a part of UDL String
           Product: frameworks-syntax-highlighting
           Version: 5.31.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: jonathan.poe...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to