Description: fix warning "Unescaped left brace in regex is deprecated, passed through in regex" Origin: vendor Bug-Debian: https://bugs.debian.org/809097 Author: gregor herrmann <gregoa@debian.org> Last-Update: 2015-12-28 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110685 Bug: https://rt.cpan.org/Ticket/Display.html?id=110685 --- a/lib/HTML/WikiConverter/MediaWiki.pm +++ b/lib/HTML/WikiConverter/MediaWiki.pm @@ -344,7 +344,7 @@ rule => { pattern => qr/^----/m, location => 'start_of_line' }, table => { pattern => qr/^\{\|/m, location => 'start_of_line' }, link => { pattern => qr/\[\[/m, location => 'anywhere' }, - template => { pattern => qr/{{/m, location => 'anywhere' }, + template => { pattern => qr/\{\{/m, location => 'anywhere' }, ); delete $wikitext_patterns{template} if $self->preserve_templates;