public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: java-patches@gcc.gnu.org
Subject: [PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...}
Date: Fri, 07 Aug 2015 06:39:00 -0000	[thread overview]
Message-ID: <CAFULd4ZtptmumS8qm2YXt_RMc1JOuOJGmr6ude2e4ntKH7dw+g@mail.gmail.com> (raw)

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

                 reply	other threads:[~2015-08-07  6:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFULd4ZtptmumS8qm2YXt_RMc1JOuOJGmr6ude2e4ntKH7dw+g@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).