diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index e1ff6b46d4..9a9b34fc15 100644 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -384,7 +384,7 @@ sub postprocess # @* is also impossible in .pod; we discard it and any newline that # follows it. Similarly, our macro @gol must be discarded. - s/\@anchor{(?:[^\}]*)\}//g; + s/\@anchor\{(?:[^\}]*)\}//g; s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; s/;\s+\@pxref\{(?:[^\}]*)\}//g;