[FFmpeg-cvslog] doc: escape left brace in texi2pod.pl regex

Janne Grunau git at videolan.org
Thu Nov 17 16:04:43 EET 2016


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Fri May  6 13:32:06 2016 +0200| [fc5cdc0d5372f5103c71d5dede296734fe71ead2] | committer: Janne Grunau

doc: escape left brace in texi2pod.pl regex

Unescaped literal left braces are deprecated and a warning was added in
Perl 5.22.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc5cdc0d5372f5103c71d5dede296734fe71ead2
---

 doc/texi2pod.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index e4eb61c..934c1a2 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;



More information about the ffmpeg-cvslog mailing list