https://bugs.kde.org/show_bug.cgi?id=361875
Bug ID: 361875 Summary: ruby syntax markup fails on regexes Product: kate Version: unspecified Platform: Debian unstable URL: http://dump.bitcheese.net/files/ikyxire/katefail.png OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: voke...@gmail.com This ruby code: "get 'files/:slug/:filename', to: 'files#download', slug: /^[a-z]+$/, filename: %r|^[^/\s]+$|" somehow breaks kate's highlighting. See URL for more information: /^[a-z]+$/ is not considered a regex, %r|^[^/\s]+$| as well. Reproducible: Always Steps to Reproduce: 1. Set syntax highlighting to Ruby 2. input text "get 'files/:slug/:filename', to: 'files#download', slug: /^[a-z]+$/, filename: %r|^[^/\s]+$|" Actual Results: See URL. Expected Results: regexes should be highlighted as regexes. -- You are receiving this mail because: You are watching all bug changes.