This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...}
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: Fri, 7 Aug 2015 08:39:53 +0200
- Subject: [PATCH, java]: texi2pod.pl: Escape braces in regexp involving @strong{...}
- Authentication-results: sourceware.org; auth=none
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";