Version: 3.0.1 (using KDE KDE 3.1.4) Installed from: Compiled From Sources OS: Linux when i use e.g. the following code: my $path = "/home/user/blah/"; $path =~ s/\/$//; the syntax highlightning doesn't recognize that the / before $ in s/\/$// is "backslashed". Therefore the code after that line isn't highlighted correctly anymore.
Syntax highlighting is done by katepart. Reassigning.
version 3.0.1 of what? Kate is currently at 2.2. You should try updating the file KDEDIR/share/apps/katepart/syntax/perl.xml, you can grab it at http://kate.kde.org or use the "download" button in the highlight page of the editor dialog. The latest available version is 1.10 i think. If that works, please close this bug, otherwise tell me here.
this bug was reported for KDevelop 3.0.1 on KDE 3.1.4, but was moved from "Jens Dagerbo" to kate as it seems.
i tested the new perl.xml from http://kate.kde.org but there's still the same problem when using KDevelop with the code above.
Created attachment 5178 [details] images showing the that "it works here" As you can see from the attached screenshot, it works here. I haven't access to kde version 3.1.4 anymore, so my best suggestion is to use the power of perl, and change your code to use a different delimiter: s|/$||; if you have control over the source. Apart from that, make sure that the new version of perl.xml is actually the one used -- if you installed it in a global directory, make sure that you don't have a local copy in ~/.kde (or whatever your KDEHOME is set to) I also suggest you update your system if possible, katepart (and the whole of KDE for that matter) has improved vastly since your version was released.
If nobody can confirm this over the weekend, I'll mark it as invalid on Monday.
With KDE 3.2.1 the problem is solved