https://bugs.kde.org/show_bug.cgi?id=383632
Bug ID: 383632
Summary: "Broken regex" build failure
Product: frameworks-syntax-highlighting
Version: 5.37.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: framework
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Trying to build syntax-highlighting results in a "broken regex" error for
multiple lines.
"/home/user/build/src/syntax-highlighting-5.37.0/data/syntax/rest.xml" line 27
broken regex: "^\\s*\\.\\. [\\w-_\\.]+::(\\s|$)" problem: "invalid range in
character class" at offset 12
"/home/user/build/src/syntax-highlighting-5.37.0/data/syntax/rest.xml" line 31
broken regex: "^(\\s*)\\.\\.\\s(?![\\w-_\\.]+::(\\s|$))" problem: "invalid
range in character class" at offset 18
"/home/user/build/src/syntax-highlighting-5.37.0/data/syntax/rest.xml" line 41
broken regex: "(^|[-\\s'\"\\(\\[{</:‘“’«¡¿‐‑‒–—
])`[^\\s].*`(?=:[\\w-_\\.\\+]+:)" problem: "invalid range in character class"
at offset 47
"/home/user/build/src/syntax-highlighting-5.37.0/data/syntax/rest.xml" line 42
broken regex: ":[\\w-_\\.\\+]+:(?=`)" problem: "invalid range in character
class" at offset 4
"/home/user/build/src/syntax-highlighting-5.37.0/data/syntax/rest.xml" line 59
broken regex: ":[\\w-_\\.\\+]+:" problem: "invalid range in character class" at
offset 4
Commenting out those lines fixes the issue, but is obviously not preferable.
--
You are receiving this mail because:
You are watching all bug changes.