This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]