On 2008-09-30 18:08 +0200, Tim Cutts wrote:
> Package: emacs21-common
> Version: 21.4a+1-3etch1
> Severity: normal
>
>
> Try entering the following code in a c-perl-mode buffer, with syntax
> highlighting on (I use font-lock-mode):
>
> my $seq = 'A' x 200;
>
> $seq =~ s/.{80}/$1\n/g;
>
> The {80}
Package: emacs21-common
Version: 21.4a+1-3etch1
Severity: normal
Try entering the following code in a c-perl-mode buffer, with syntax
highlighting on (I use font-lock-mode):
my $seq = 'A' x 200;
$seq =~ s/.{80}/$1\n/g;
The {80} confuses the parser and c-perl-mode thinks the regex is
unbalanced
2 matches
Mail list logo