Bug#500705: emacs21-common: c-perl-mode misparses some regexes

2008-09-30 Thread Sven Joachim
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}

Bug#500705: emacs21-common: c-perl-mode misparses some regexes

2008-09-30 Thread Tim Cutts
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