Sublime Forum

Bug: Perl Syntax Highlighting Problem

#1

This is more of a bug report, each time I upgrade SublimeText I have to manually edit the language file to fix this issue.

The r modifier on substitutions is not correctly supported and results in incorrect highlighting.

sub escapeString {
    my ($string) = @_;
    return defined $string ? $string =~ s/"/\\"/grxms : undef;
}

sub escapeKeyword {
    my ($this, $name) = @_;
    return;
}
0 Likes

#2

If you have a problem with the default sublime text syntax highlighting, perform a bug report on:

  1. https://github.com/sublimehq/Packages/issues
0 Likes