diff mbox

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

Message ID CAFULd4ZtptmumS8qm2YXt_RMc1JOuOJGmr6ude2e4ntKH7dw+g@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Aug. 7, 2015, 6:39 a.m. UTC
2015-08-07  Uros Bizjak  <ubizjak@gmail.com>

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

Bootstrapped on fedora 22 and committed to mainline SVN.

Uros.
diff mbox

Patch

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";