Skip Menu |

This queue is for tickets about the LaTeX-Encode CPAN distribution.

Report information
The Basics
Id: 87805
Status: resolved
Priority: 0/
Queue: LaTeX-Encode

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: 0.091



Subject: Bleadperl v5.19.2-257-gc30fc27 breaks already buggy test
In the ticket https://rt.perl.org/rt3//Public/Bug/Display.html?id=119125 it has been shown that a bugfix in perl uncovered a bug in LaTeX::Encode. The patch that fixes it is: % diff -u lib/LaTeX/Encode/EncodingTable.pm{~,} --- lib/LaTeX/Encode/EncodingTable.pm~ 2012-09-25 22:24:14.000000000 +0200 +++ lib/LaTeX/Encode/EncodingTable.pm 2013-08-13 07:58:25.447243922 +0200 @@ -637,7 +637,7 @@ sub _compile_encoding_regexp { $encoded_char_re = join q{}, sort keys %latex_encoding; - $encoded_char_re =~ s{ ([#$\[\]\\]) }{\\$1}gmsx; + $encoded_char_re =~ s{ ([#\$\[\]\\]) }{\\$1}gmsx; $encoded_char_re = eval "qr{[$encoded_char_re]}x"; return; } Thanks && Regards,
On Tue Aug 13 02:06:35 2013, ANDK wrote: Show quoted text
> In the ticket > https://rt.perl.org/rt3//Public/Bug/Display.html?id=119125 it has been > shown that a bugfix in perl uncovered a bug in LaTeX::Encode. The > patch that fixes it is: > > % diff -u lib/LaTeX/Encode/EncodingTable.pm{~,} > --- lib/LaTeX/Encode/EncodingTable.pm~ 2012-09-25 22:24:14.000000000 > +0200 > +++ lib/LaTeX/Encode/EncodingTable.pm 2013-08-13 07:58:25.447243922 > +0200 > @@ -637,7 +637,7 @@ > > sub _compile_encoding_regexp { > $encoded_char_re = join q{}, sort keys %latex_encoding; > - $encoded_char_re =~ s{ ([#$\[\]\\]) }{\\$1}gmsx; > + $encoded_char_re =~ s{ ([#\$\[\]\\]) }{\\$1}gmsx; > $encoded_char_re = eval "qr{[$encoded_char_re]}x"; > return; > } > > Thanks && Regards,
Hi; I had apparently fixed this in 0.91