From: Fam Zheng Date: Tue, 20 Oct 2015 07:38:46 +0000 (+0800) Subject: scripts/text2pod.pl: Escape left brace X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=aa5ccadcca3e6018ebd9d2e8b0a0604f7cb0cd59;p=qemu.git scripts/text2pod.pl: Escape left brace Latest perl now deprecates "{" literal in regex and print warnings like "unescaped left brace in regex is deprecated". Add escapes to keep it happy. Signed-off-by: Fam Zheng Message-Id: <1445326726-16031-1-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/scripts/texi2pod.pl b/scripts/texi2pod.pl index 94097fb065..8767662d30 100755 --- a/scripts/texi2pod.pl +++ b/scripts/texi2pod.pl @@ -317,7 +317,7 @@ while(<$inf>) { @columns = (); for $column (split (/\s*\@tab\s*/, $1)) { # @strong{...} is used a @headitem work-alike - $column =~ s/^\@strong{(.*)}$/$1/; + $column =~ s/^\@strong\{(.*)\}$/$1/; push @columns, $column; } $_ = "\n=item ".join (" : ", @columns)."\n";