doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields

Fix potential spurious substitution.
This commit is contained in:
Stefano Sabatini 2013-03-07 01:43:39 +01:00
parent 9767ec6b86
commit 9167db3829
1 changed files with 1 additions and 1 deletions

View File

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