Received: from eggs.gnu.org ([2001:4830:134:3::10]:57443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoRVZ-0005LW-Fb for qemu-devel@nongnu.org; Tue, 20 Oct 2015 03:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoRVT-0004R3-KY for qemu-devel@nongnu.org; Tue, 20 Oct 2015 03:38:57 -0400 From: Fam Zheng Date: Tue, 20 Oct 2015 15:38:46 +0800 Message-Id: <1445326726-16031-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2] scripts/text2pod.pl: Escape left brace List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com 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 --- v2: Drop superfluous hunk. --- scripts/texi2pod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/texi2pod.pl b/scripts/texi2pod.pl index 94097fb..8767662 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"; -- 2.4.3