public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...}
@ 2015-08-07  6:39 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2015-08-07  6:39 UTC (permalink / raw)
  To: gcc-patches; +Cc: java-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-07  6:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07  6:39 [PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...} Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).