[FFmpeg-devel] [PATCH] doc/texi2pod: correctly handle @url commands in the form @url{URL, TEXT}
Stefano Sabatini
stefasab at gmail.com
Mon Dec 17 14:35:14 CET 2012
---
doc/texi2pod.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 5ff8857..50cd5a0 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -370,7 +370,7 @@ sub postprocess
# @uref can take one, two, or three arguments, with different
# semantics each time. @url and @email are just like @uref with
# one argument, for our purposes.
- s/\@(?:uref|url|email)\{([^\},]*)\}/<B<$1>>/g;
+ s/\@(?:uref|url|email)\{([^\},]*),?[^\},]*\}/<B<$1>>/g;
s/\@uref\{([^\},]*),([^\},]*)\}/$2 (C<$1>)/g;
s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g;
--
1.7.9.5
More information about the ffmpeg-devel
mailing list