[PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...}

Uros Bizjak <[email protected]> Fri, 7 Aug 2015 08:39:53 +0200
Newsgroups gmane.comp.gcc.java.patches,gmane.comp.gcc.patches
Message-ID <CAFULd4ZtptmumS8qm2YXt_RMc1JOuOJGmr6ude2e4ntKH7dw+g@mail.gmail.com>
2015-08-07  Uros Bizjak  <[email protected]>

    * doc/texi2pod.pl: Escape braces in regexp involving @strong{...}.

Bootstrapped on fedora 22 and committed to mainline SVN.

Uros.

Index: doc/texi2pod.pl
===================================================================
--- doc/texi2pod.pl     (revision 226670)
+++ doc/texi2pod.pl     (working copy)
@@ -311,7 +311,7 @@
       @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";