summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2016-05-06 13:32:06 +0200
committerJanne Grunau <janne-libav@jannau.net>2016-07-10 13:34:57 +0200
commitfc5cdc0d5372f5103c71d5dede296734fe71ead2 (patch)
tree62bf77c23dc14a8e928da3470b106fd7e310c692 /doc
parentd825b1a5306576dcd0553b7d0d24a3a46ad92864 (diff)
doc: escape left brace in texi2pod.pl regex
Unescaped literal left braces are deprecated and a warning was added in Perl 5.22.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/texi2pod.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index e4eb61c26c..934c1a27ee 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -380,7 +380,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;