[libhtml-wikiconverter-mediawiki-perl] 08/09: Add patch to fix warning "Unescaped left brace in regex is deprecated".

gregor herrmann gregoa at debian.org
Mon Dec 28 01:43:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhtml-wikiconverter-mediawiki-perl.

commit 40d819c138c760d95369cd6692c321b8d004462a
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Dec 28 02:39:33 2015 +0100

    Add patch to fix warning "Unescaped left brace in regex is deprecated".
    
    Closes: #809097
---
 debian/patches/series                     |  1 +
 debian/patches/unescaped_left_brace.patch | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e481e7c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+unescaped_left_brace.patch
diff --git a/debian/patches/unescaped_left_brace.patch b/debian/patches/unescaped_left_brace.patch
new file mode 100644
index 0000000..d43879a
--- /dev/null
+++ b/debian/patches/unescaped_left_brace.patch
@@ -0,0 +1,19 @@
+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 at 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-wikiconverter-mediawiki-perl.git



More information about the Pkg-perl-cvs-commits mailing list