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,