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

            Bug ID: 433467
           Summary: doxygen.xml [and others] have invalid "[]" in regex
           Product: frameworks-syntax-highlighting
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: g...@genethomas.com
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

SUMMARY

[] appears in regexs. That means a single character but is not allowed to be
anything, there is nothing between the [ and ]. The ICU regex engine I am using
rejects this.

STEPS TO REPRODUCE
1. Read doxygen.xml
2. It declares and entity wordsep as "(?:[][,?;()]|\.$|\.?\s)"
3. This entity is used in RegExpr's

OBSERVED RESULT

This is ok

EXPECTED RESULT

Should be an error and the .xml corrected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

head of https://github.com/KDE/syntax-highlighting

ADDITIONAL INFORMATION

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

Reply via email to