diff options
author | Janne Grunau <janne-libav@jannau.net> | 2016-05-06 14:32:06 +0300 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2016-07-10 14:34:57 +0300 |
commit | fc5cdc0d5372f5103c71d5dede296734fe71ead2 (patch) | |
tree | 62bf77c23dc14a8e928da3470b106fd7e310c692 /doc | |
parent | d825b1a5306576dcd0553b7d0d24a3a46ad92864 (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-x | doc/texi2pod.pl | 2 |
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; |