https://bugs.kde.org/show_bug.cgi?id=393633
Bug ID: 393633 Summary: kwrite javascript syntax highlighting incorrectly displays as regex Product: kate Version: 17.12.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: cyp...@gmail.com Target Milestone: --- Created attachment 112304 --> https://bugs.kde.org/attachment.cgi?id=112304&action=edit screenshot of testcase Using javascript syntax highlighting and dividing an identifier ending in a non-ascii character by something, the / is interpreted as the start of a regex. Testcase, the / in δ/113 is interpreted as the start of a regex: let regex = /hello.*(world|universe)?/; let i = 22; let j = i/7; let δ = 355; let k = δ/113; let m = 42; let regex2 = /hello.*(world|universe)?/; let ouch = true; -- You are receiving this mail because: You are watching all bug changes.