Browse Source

doc: escape left brace in texi2pod.pl regex

Unescaped literal left braces are deprecated and a warning was added in
Perl 5.22.
tags/n3.3
Janne Grunau 9 years ago
parent
commit
fc5cdc0d53
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/texi2pod.pl

+ 1
- 1
doc/texi2pod.pl View File

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


Loading…
Cancel
Save