[FFmpeg-devel] [PATCH] doc/texi2pod: correctly handle @url commands in the form @url{URL, TEXT}

Stefano Sabatini stefasab at gmail.com
Tue Dec 18 00:27:08 CET 2012

On date Monday 2012-12-17 11:58:48 -0500, Derek Buitenhuis encoded:
> On 17/12/2012 8:35 AM, Stefano Sabatini wrote:
> > -    s/\@(?:uref|url|email)\{([^\},]*)\}/<B<$1>>/g;
> > +    s/\@(?:uref|url|email)\{([^\},]*),?[^\},]*\}/<B<$1>>/g;
> Seems OK, if our aim is to just ignore the text. I think. My
> regex-fu may have mis-parsed it.

Applied a simpler/better patch, which supports things of the kind
@url{ffmpeg.html,this,is,insane} as well.

Short regex-fu reminder, this:

reads as:
a ',' one or zero times, followed by a a character in the set [...]
different from "}" ("^\}" since "}" is special) repeated zero or more
FFmpeg = Faithful Fostering Multipurpose Patchable Ecumenical God

More information about the ffmpeg-devel mailing list