diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-03-07 01:43:39 +0100 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-08-27 09:06:37 -0700 |
commit | 8c4261f411c542830943fb6381daff7dc422b846 (patch) | |
tree | 87a1bfb1cdf2125cfd7b872268c9d5b6a9f3a6de | |
parent | 6002f123bd8877e694eaca1f9e9b953e4d76894d (diff) | |
download | ffmpeg-8c4261f411c542830943fb6381daff7dc422b846.tar.gz |
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
Fix potential spurious substitution.
(cherry picked from commit 9167db3829f360f241255d4240ba6b7135ab4111)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rwxr-xr-x | doc/texi2pod.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 8e09c09125..20ca764a1a 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -372,7 +372,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; |