https://bugs.kde.org/show_bug.cgi?id=495349
Bug ID: 495349 Summary: Ruby encoding detection error with [/regexp/] Classification: Applications Product: kate Version: 24.08.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: encoding Assignee: kwrite-bugs-n...@kde.org Reporter: arksbad...@gmail.com Target Milestone: --- Created attachment 175234 --> https://bugs.kde.org/attachment.cgi?id=175234&action=edit This is not how it is supposed to look I think. SUMMARY if you include a space between [ and /, it detects correctly, but the code works fine either way so [/regexp/] should also look fine and it doesn't. STEPS TO REPRODUCE 1. Use kate 2. Edit rubyscript 3. Use Obj[/regexp/] (or just [//]) OBSERVED RESULT incorrect highlighting EXPECTED RESULT correct highlighting SOFTWARE/OS VERSIONS Linux/KDE Plasma: XFCE Arch, but it's unrelated to the bug KDE Plasma Version: 6 is installed, but it's likely unrelated to the bug KDE Frameworks Version: 5 and 6 is installed, but it's likely unrelated to the bug Qt Version: 5 and 6 are installed, but it's likely unrelated to the bug. ADDITIONAL INFORMATION It's just a bug with rubyscript parsing afaik. -- You are receiving this mail because: You are watching all bug changes.