From 9167db3829f360f241255d4240ba6b7135ab4111 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 7 Mar 2013 01:43:39 +0100 Subject: [PATCH] doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields Fix potential spurious substitution. --- doc/texi2pod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 5c3aba69f4..697576c185 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -377,7 +377,7 @@ sub postprocess s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; s/;\s+\@pxref\{(?:[^\}]*)\}//g; - s/\@ref\{(?:[^,]*,)(?:[^,]*,)([^,\}]*).*\}/$1/g; + s/\@ref\{(?:[^,\}]*,)(?:[^,\}]*,)([^,\}]*).*\}/$1/g; s/\@ref\{([^\}]*)\}/$1/g; s/\@noindent\s*//g; s/\@refill//g;