Bug#782619: box2d: invalid regexp in watch file

gregor herrmann gregoa at debian.org
Wed Apr 15 08:32:28 UTC 2015


Control: tag -1 + pending

On Tue, 14 Apr 2015 23:49:00 +0200, Markus Koschany wrote:

> > version=3
> > opts=uversionmangle=s/(\d)[\/]$/$1$2/,\
> > dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \
> > http://box2d.googlecode.com/svn/tags/v(\d.*)
> > 
> > 
> > Unless I'm mistaken, the $2 in the opts line seems to be the problem
> > as it doesn't refer to any capture group.
> > 
> > Not sure what the intention actually is but this should probably be either
> >     s/(\d)(\/)$/$1$2/
> > or
> >     s/(\d)\/$/$1/

> Hmm, version 1 doesn't work but version 2 does. I've just committed
> the fix.

Excellent, thank you!

Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #321:  Scheduled global CPU outage 



More information about the Pkg-games-devel mailing list